diff options
author | Callum Prentice <callum@gmail.com> | 2017-03-14 15:28:56 -0700 |
---|---|---|
committer | Callum Prentice <callum@gmail.com> | 2017-03-14 15:28:56 -0700 |
commit | f0b5a263c19477e66df1470c8ff5df6ee339f7f1 (patch) | |
tree | 672f54f89e9923d52c6563e7c660336fcef12041 /indra | |
parent | c1f7c00869653e50a6599cc80ab755a773fadbff (diff) |
Fixed for MAINT-7201, MAINT-7202, MAINT-7203 (viewer-embeddedd browser scheme handler was broken)
Diffstat (limited to 'indra')
-rw-r--r-- | indra/media_plugins/cef/media_plugin_cef.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/media_plugins/cef/media_plugin_cef.cpp b/indra/media_plugins/cef/media_plugin_cef.cpp index 90bdeb082c..906a5ff6e7 100644 --- a/indra/media_plugins/cef/media_plugin_cef.cpp +++ b/indra/media_plugins/cef/media_plugin_cef.cpp @@ -512,6 +512,9 @@ void MediaPluginCEF::receiveMessage(const char* message_string) settings.user_agent_substring = mCEFLib->makeCompatibleUserAgentString(mUserAgentSubtring); settings.webgl_enabled = true; + std::vector<std::string> custom_schemes(1, "secondlife"); + mCEFLib->setCustomSchemes(custom_schemes); + bool result = mCEFLib->init(settings); if (!result) { |