diff options
author | Monroe Linden <monroe@lindenlab.com> | 2010-03-29 18:36:47 -0700 |
---|---|---|
committer | Monroe Linden <monroe@lindenlab.com> | 2010-03-29 18:36:47 -0700 |
commit | e1517318c58d6796b5566d5cf96c02474fd7376e (patch) | |
tree | 74af41c40e6bef4b9fbd73835a374a83aa9a2f7a /indra/llui/llkeywords.cpp | |
parent | eeeca917975e11bfe4b42a6b3c9c23cd63f2fe2e (diff) |
Fix for EXT-6615 (SL webkit no longer reports "Second Life" in the HTTP_USER_AGENT)
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.
Diffstat (limited to 'indra/llui/llkeywords.cpp')
0 files changed, 0 insertions, 0 deletions