summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcallum_linden <callum@lindenlab.com>2017-09-21 14:01:20 -0700
committercallum_linden <callum@lindenlab.com>2017-09-21 14:01:20 -0700
commitcdba690ec9a68ab3ac930a0b8aa9b8bca4deb7f4 (patch)
treebf2911ce01100573735ea76c0e1a8402b064df16
parenteae144219c3ab2ca0fc724021eec32225065a006 (diff)
Fix for MAINT-7787: [Alex Ivy] RC Viewers in 5.1.0 range show black background for CONTENT_TYPE_HTML. (The color we pass to CEF has 4 compontents red, blue, green and alpha. We were only passing 3 and setting the color and not the alpha. At somepoint in CEF's history the default value must have changed. Passing 0xFF for alpha too - i.e. fully opaque - fixes this)
-rw-r--r--indra/media_plugins/cef/media_plugin_cef.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/media_plugins/cef/media_plugin_cef.cpp b/indra/media_plugins/cef/media_plugin_cef.cpp
index 34a0931220..74a0febe3c 100644
--- a/indra/media_plugins/cef/media_plugin_cef.cpp
+++ b/indra/media_plugins/cef/media_plugin_cef.cpp
@@ -448,7 +448,7 @@ void MediaPluginCEF::receiveMessage(const char* message_string)
dullahan::dullahan_settings settings;
settings.accept_language_list = mHostLanguage;
- settings.background_color = 0xffffff;
+ settings.background_color = 0xffffffff;
settings.cache_enabled = true;
settings.cache_path = mCachePath;
settings.cookie_store_path = mCookiePath;