Index: webkit/glue/plugins/plugin_host.cc |
=================================================================== |
--- webkit/glue/plugins/plugin_host.cc (revision 8714) |
+++ webkit/glue/plugins/plugin_host.cc (working copy) |
@@ -575,7 +575,7 @@ |
if (id) { |
scoped_refptr<NPAPI::PluginInstance> plugin = FindInstance(id); |
if (plugin.get() && !plugin->use_mozilla_user_agent()) |
- return webkit_glue::GetUserAgent().c_str(); |
+ return webkit_glue::GetUserAgent(GURL()).c_str(); |
} |
static const char *UA = "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20061103 Firefox/2.0a1"; |