From 91f48c5588b95814b41bdf915225698f0e5234ae Mon Sep 17 00:00:00 2001 From: Dmitry Azaraev Date: Mon, 5 Aug 2019 17:00:09 +0000 Subject: [PATCH] Fix missing marshaling for CefSettings::root_cache_path member (fixes issue #2740) --- include/internal/cef_types_wrappers.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/internal/cef_types_wrappers.h b/include/internal/cef_types_wrappers.h index d0509a6e6..c993dbe9a 100644 --- a/include/internal/cef_types_wrappers.h +++ b/include/internal/cef_types_wrappers.h @@ -545,6 +545,7 @@ struct CefSettingsTraits { cef_string_clear(&s->framework_dir_path); cef_string_clear(&s->main_bundle_path); cef_string_clear(&s->cache_path); + cef_string_clear(&s->root_cache_path); cef_string_clear(&s->user_data_path); cef_string_clear(&s->user_agent); cef_string_clear(&s->product_version); @@ -575,6 +576,8 @@ struct CefSettingsTraits { cef_string_set(src->cache_path.str, src->cache_path.length, &target->cache_path, copy); + cef_string_set(src->root_cache_path.str, src->root_cache_path.length, + &target->root_cache_path, copy); cef_string_set(src->user_data_path.str, src->user_data_path.length, &target->user_data_path, copy); target->persist_session_cookies = src->persist_session_cookies;