Fix for SL-15560 pages with undefined html render with gray background instead of white in CEF v91

master
Callum Prentice 2021-07-12 14:17:04 -07:00
parent 3602d64a09
commit 95b26d3bec
1 changed files with 6 additions and 1 deletions

View File

@ -546,7 +546,12 @@ void MediaPluginCEF::receiveMessage(const char* message_string)
settings.host_process_path = std::string(cur_dir_str);
#endif
settings.accept_language_list = mHostLanguage;
settings.background_color = 0xff282828; // close to Viewer background color
// SL-15560: Product team overruled my change to set the default
// embedded background color to match the floater background
// and set it to white
settings.background_color = 0xffffffff; // white
settings.cache_enabled = true;
settings.root_cache_path = mRootCachePath;
settings.cache_path = mCachePath;