The issue here is that initBrowserWindow() was doing the wrong thing if it got called after the set_user_agent message was received. Made the handler for the set_user_agent message save the string in a member variable (mUserAgent). Initialize mUserAgent to the default string in the MediaPluginWebKit constructor. initBrowserWindow() now sets the user agent string from mUserAgent instead of from a literal. |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| linux_volume_catcher.cpp | ||
| linux_volume_catcher_pa_syms.inc | ||
| linux_volume_catcher_paglib_syms.inc | ||
| media_plugin_webkit.cpp | ||