summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorMonroe Linden <monroe@lindenlab.com>2010-03-29 18:36:47 -0700
committerMonroe Linden <monroe@lindenlab.com>2010-03-29 18:36:47 -0700
commite02e45fd76487fd2f0782b84ed5336a8f43cecac (patch)
tree422d57114fdc4e308df4201296b70dbe91da7181 /indra/newview
parentb69a454aab29a837664760c4034dcaa837ed627a (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/newview')
0 files changed, 0 insertions, 0 deletions