diff options
author | Rider Linden <rider@lindenlab.com> | 2015-10-27 15:45:21 -0700 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2015-10-27 15:45:21 -0700 |
commit | b1c3ec9c0049758afbe9e13d31cc2f60348ecffb (patch) | |
tree | 9da64a10bee7c90ac671db21df68b9e78ca72c7c /indra/media_plugins | |
parent | 9833a50260fb45d5f0033200ae756834c0cc9940 (diff) | |
parent | 4ee02ce01a220aaf63f10c2a00556b13c7892de3 (diff) |
Merge
Diffstat (limited to 'indra/media_plugins')
-rw-r--r-- | indra/media_plugins/cef/media_plugin_cef.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/indra/media_plugins/cef/media_plugin_cef.cpp b/indra/media_plugins/cef/media_plugin_cef.cpp index 2a1ef1484a..bb2270181e 100644 --- a/indra/media_plugins/cef/media_plugin_cef.cpp +++ b/indra/media_plugins/cef/media_plugin_cef.cpp @@ -432,9 +432,10 @@ void MediaPluginCEF::receiveMessage(const char* message_string) } else if (message_name == "set_user_data_path") { - std::string user_data_path = message_in.getValue("path"); // n.b. always has trailing platform-specific dir-delimiter - mCachePath = user_data_path + "cef_cache"; - mCookiePath = user_data_path + "cef_cookies"; + std::string user_data_path_cache = message_in.getValue("cache_path"); + std::string user_data_path_cookies = message_in.getValue("cookies_path"); + mCachePath = user_data_path_cache + "cef_cache"; + mCookiePath = user_data_path_cookies + "cef_cookies"; } else if (message_name == "size_change") { @@ -734,8 +735,6 @@ void MediaPluginCEF::keyEvent(LLCEFLib::EKeyEvent key_event, int key, LLCEFLib:: U32 msg = ll_U32_from_sd(native_key_data["msg"]); U32 wparam = ll_U32_from_sd(native_key_data["w_param"]); U64 lparam = ll_U32_from_sd(native_key_data["l_param"]); - //if ((msg == WM_CHAR) && (key_event == )) - mLLCEFLib->nativeKeyboardEvent(msg, wparam, lparam); #endif }; |