| 291 | |
| 292 | template<typename...P> |
| 293 | CefRefPtr<CefValue> MakeCefObject(CefProp<P>&&...props) |
| 294 | { |
| 295 | auto dict = CefDictionaryValue::Create(); |
| 296 | if constexpr (sizeof...(props) > 0) |
| 297 | { |
| 298 | PopulateCefObject_(*dict, std::forward<CefProp<P>>(props)...); |
| 299 | } |
| 300 | return CefValueDecay(std::move(dict)); |
| 301 | } |
| 302 | } |