Unreviewed, WebKit2 GTK/Qt build fix attempt after r117516.
authorphiln@webkit.org <philn@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 18 May 2012 04:41:07 +0000 (04:41 +0000)
committerphiln@webkit.org <philn@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 18 May 2012 04:41:07 +0000 (04:41 +0000)
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::didBlockInsecurePluginVersion):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117539 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/WebPageProxy.cpp

index d66e04f..9b3b379 100644 (file)
@@ -1,3 +1,10 @@
+2012-05-17  Philippe Normand  <pnormand@igalia.com>
+
+        Unreviewed, WebKit2 GTK/Qt build fix attempt after r117516.
+
+        * UIProcess/WebPageProxy.cpp:
+        (WebKit::WebPageProxy::didBlockInsecurePluginVersion):
+
 2012-05-17  Anders Carlsson  <andersca@apple.com>
 
         Plug-ins blacklist mechanism can tell clients about plug-in with null identifier
index bcc748b..e11daf1 100644 (file)
@@ -3627,9 +3627,9 @@ void WebPageProxy::didBlockInsecurePluginVersion(const String& mimeType, const S
 {
     String pluginIdentifier;
     String pluginVersion;
+    String newMimeType = mimeType;
 
 #if PLATFORM(MAC)
-    String newMimeType = mimeType;
     PluginModuleInfo plugin = m_process->context()->pluginInfoStore().findPlugin(newMimeType, KURL(KURL(), urlString));
 
     pluginIdentifier = plugin.bundleIdentifier;