<http://webkit.org/b/51889> WebFrameLoaderClient::createMediaPlayerProxyPlugin()...
authorddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 4 Jan 2011 20:47:06 +0000 (20:47 +0000)
committerddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 4 Jan 2011 20:47:06 +0000 (20:47 +0000)
Reviewed by Eric Carlson.

This originally broke in r61581.  It is inside an
ENABLE(PLUGIN_PROXY_FOR_VIDEO) macro, so it didn't break the Mac
build then.

* WebCoreSupport/WebFrameLoaderClient.mm: Call
(WebFrameLoaderClient::createMediaPlayerProxyPlugin): Updated to
use WebCore::PluginInfo.name instead of
-[WebBasePluginPackage name].

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

WebKit/mac/ChangeLog
WebKit/mac/WebCoreSupport/WebFrameLoaderClient.mm

index 15cbf23..ba5025d 100644 (file)
@@ -1,3 +1,18 @@
+2011-01-04  David Kilzer  <ddkilzer@apple.com>
+
+        <http://webkit.org/b/51889> WebFrameLoaderClient::createMediaPlayerProxyPlugin() should use WebCore::PluginInfo.name
+
+        Reviewed by Eric Carlson.
+
+        This originally broke in r61581.  It is inside an
+        ENABLE(PLUGIN_PROXY_FOR_VIDEO) macro, so it didn't break the Mac
+        build then.
+
+        * WebCoreSupport/WebFrameLoaderClient.mm: Call
+        (WebFrameLoaderClient::createMediaPlayerProxyPlugin): Updated to
+        use WebCore::PluginInfo.name instead of
+        -[WebBasePluginPackage name].
+
 2011-01-02  Dan Bernstein  <mitz@apple.com>
 
         Rubber-stamped by Simon Fraser.
index 3198a30..227d13a 100644 (file)
@@ -1866,7 +1866,7 @@ PassRefPtr<Widget> WebFrameLoaderClient::createMediaPlayerProxyPlugin(const IntS
 
     if (errorCode) {
         NSError *error = [[NSError alloc] _initWithPluginErrorCode:errorCode
-            contentURL:URL pluginPageURL:nil pluginName:[pluginPackage name] MIMEType:mimeType];
+            contentURL:URL pluginPageURL:nil pluginName:[pluginPackage pluginInfo].name MIMEType:mimeType];
         WebNullPluginView *nullView = [[[WebNullPluginView alloc] initWithFrame:NSMakeRect(0, 0, size.width(), size.height())
             error:error DOMElement:kit(element)] autorelease];
         view = nullView;