From cdba690ec9a68ab3ac930a0b8aa9b8bca4deb7f4 Mon Sep 17 00:00:00 2001
From: callum_linden <callum@lindenlab.com>
Date: Thu, 21 Sep 2017 14:01:20 -0700
Subject: [PATCH] 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)

---
 indra/media_plugins/cef/media_plugin_cef.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/indra/media_plugins/cef/media_plugin_cef.cpp b/indra/media_plugins/cef/media_plugin_cef.cpp
index 34a09312207..74a0febe3c6 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;
-- 
GitLab