summaryrefslogtreecommitdiff
path: root/indra/media_plugins/cef/media_plugin_cef.cpp
diff options
context:
space:
mode:
authorCallum Prentice <callum@lindenlab.com>2021-07-12 14:17:04 -0700
committerCallum Prentice <callum@lindenlab.com>2021-07-12 14:17:04 -0700
commit95b26d3becf8fef901ea09998866a9d8227cdcad (patch)
treefec996092ddd1bbcc45cc55aeaa3478b66108a67 /indra/media_plugins/cef/media_plugin_cef.cpp
parent3602d64a09fb068129cccd4f7993c0d658cc4669 (diff)
Fix for SL-15560 pages with undefined html render with gray background instead of white in CEF v91
Diffstat (limited to 'indra/media_plugins/cef/media_plugin_cef.cpp')
-rw-r--r--indra/media_plugins/cef/media_plugin_cef.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/media_plugins/cef/media_plugin_cef.cpp b/indra/media_plugins/cef/media_plugin_cef.cpp
index 97ad3d54cc..44407c3dfb 100644
--- a/indra/media_plugins/cef/media_plugin_cef.cpp
+++ b/indra/media_plugins/cef/media_plugin_cef.cpp
@@ -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;