Title: [115768] trunk/Source/WebKit/chromium
Revision
115768
Author
[email protected]
Date
2012-05-01 17:27:45 -0700 (Tue, 01 May 2012)

Log Message

[Chromium] Additional instances of calling mimeRegistry directly
https://bugs.webkit.org/show_bug.cgi?id=85320

Reviewed by Eric Seidel.

Part of a refactoring series. See tracking bug 82948.

* src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::canShowMIMEType):
* src/WebMediaPlayerClientImpl.cpp:
(WebKit::WebMediaPlayerClientImpl::supportsType):

Modified Paths

Diff

Modified: trunk/Source/WebKit/chromium/ChangeLog (115767 => 115768)


--- trunk/Source/WebKit/chromium/ChangeLog	2012-05-02 00:21:20 UTC (rev 115767)
+++ trunk/Source/WebKit/chromium/ChangeLog	2012-05-02 00:27:45 UTC (rev 115768)
@@ -1,3 +1,17 @@
+2012-05-01  Mark Pilgrim  <[email protected]>
+
+        [Chromium] Additional instances of calling mimeRegistry directly
+        https://bugs.webkit.org/show_bug.cgi?id=85320
+
+        Reviewed by Eric Seidel.
+
+        Part of a refactoring series. See tracking bug 82948.
+
+        * src/FrameLoaderClientImpl.cpp:
+        (WebKit::FrameLoaderClientImpl::canShowMIMEType):
+        * src/WebMediaPlayerClientImpl.cpp:
+        (WebKit::WebMediaPlayerClientImpl::supportsType):
+
 2012-05-01  Ryosuke Niwa  <[email protected]>
 
         *Command.h files shouldn't be exported to WebKit layer

Modified: trunk/Source/WebKit/chromium/src/FrameLoaderClientImpl.cpp (115767 => 115768)


--- trunk/Source/WebKit/chromium/src/FrameLoaderClientImpl.cpp	2012-05-02 00:21:20 UTC (rev 115767)
+++ trunk/Source/WebKit/chromium/src/FrameLoaderClientImpl.cpp	2012-05-02 00:27:45 UTC (rev 115768)
@@ -1306,7 +1306,7 @@
     // mimeType strings are supposed to be ASCII, but if they are not for some
     // reason, then it just means that the mime type will fail all of these "is
     // supported" checks and go down the path of an unhandled mime type.
-    if (webKitPlatformSupport()->mimeRegistry()->supportsMIMEType(mimeType) == WebMimeRegistry::IsSupported)
+    if (WebKit::Platform::current()->mimeRegistry()->supportsMIMEType(mimeType) == WebMimeRegistry::IsSupported)
         return true;
 
     // If Chrome is started with the --disable-plugins switch, pluginData is null.

Modified: trunk/Source/WebKit/chromium/src/WebMediaPlayerClientImpl.cpp (115767 => 115768)


--- trunk/Source/WebKit/chromium/src/WebMediaPlayerClientImpl.cpp	2012-05-02 00:21:20 UTC (rev 115767)
+++ trunk/Source/WebKit/chromium/src/WebMediaPlayerClientImpl.cpp	2012-05-02 00:27:45 UTC (rev 115768)
@@ -750,7 +750,7 @@
 {
     String keySystem;
 #endif
-    WebMimeRegistry::SupportsType supportsType = webKitPlatformSupport()->mimeRegistry()->supportsMediaMIMEType(type, codecs, keySystem);
+    WebMimeRegistry::SupportsType supportsType = WebKit::Platform::current()->mimeRegistry()->supportsMediaMIMEType(type, codecs, keySystem);
 
     switch (supportsType) {
     default:
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to