Fix configuration of CefSettings.framework_dir_path (issue #2110)

This commit is contained in:
Marshall Greenblatt 2017-02-28 14:40:03 -05:00
parent 178f101bfb
commit 5b69bde650

View File

@ -555,6 +555,7 @@ struct CefSettingsTraits {
static inline void clear(struct_type* s) {
cef_string_clear(&s->browser_subprocess_path);
cef_string_clear(&s->framework_dir_path);
cef_string_clear(&s->cache_path);
cef_string_clear(&s->user_data_path);
cef_string_clear(&s->user_agent);
@ -574,6 +575,9 @@ struct CefSettingsTraits {
cef_string_set(src->browser_subprocess_path.str,
src->browser_subprocess_path.length,
&target->browser_subprocess_path, copy);
cef_string_set(src->framework_dir_path.str,
src->framework_dir_path.length,
&target->framework_dir_path, copy);
target->multi_threaded_message_loop = src->multi_threaded_message_loop;
target->external_message_pump = src->external_message_pump;
target->windowless_rendering_enabled = src->windowless_rendering_enabled;