Title: [110932] trunk/Source/WebCore
Revision
110932
Author
leo.y...@torchmobile.com.cn
Date
2012-03-15 20:00:45 -0700 (Thu, 15 Mar 2012)

Log Message

[BlackBerry] Sync up MIMETypeRegistry.cpp
https://bugs.webkit.org/show_bug.cgi?id=81191

Reviewed by Rob Buis.

Add png and jpeg to supportedImageMIMETypesForEncoding for BlackBerry.

* platform/MIMETypeRegistry.cpp:
(WebCore::initializeSupportedImageMIMETypesForEncoding):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (110931 => 110932)


--- trunk/Source/WebCore/ChangeLog	2012-03-16 02:54:52 UTC (rev 110931)
+++ trunk/Source/WebCore/ChangeLog	2012-03-16 03:00:45 UTC (rev 110932)
@@ -1,3 +1,15 @@
+2012-03-15  Leo Yang  <leo.y...@torchmobile.com.cn>
+
+        [BlackBerry] Sync up MIMETypeRegistry.cpp
+        https://bugs.webkit.org/show_bug.cgi?id=81191
+
+        Reviewed by Rob Buis.
+
+        Add png and jpeg to supportedImageMIMETypesForEncoding for BlackBerry.
+
+        * platform/MIMETypeRegistry.cpp:
+        (WebCore::initializeSupportedImageMIMETypesForEncoding):
+
 2012-03-15  Dana Jansens  <dan...@chromium.org>
 
         [chromium] Decide occlusion in paint culling with CCOcclusionTracker

Modified: trunk/Source/WebCore/platform/MIMETypeRegistry.cpp (110931 => 110932)


--- trunk/Source/WebCore/platform/MIMETypeRegistry.cpp	2012-03-16 02:54:52 UTC (rev 110931)
+++ trunk/Source/WebCore/platform/MIMETypeRegistry.cpp	2012-03-16 03:00:45 UTC (rev 110932)
@@ -302,6 +302,9 @@
     supportedImageMIMETypesForEncoding->add("image/ico");
 #elif USE(CAIRO)
     supportedImageMIMETypesForEncoding->add("image/png");
+#elif PLATFORM(BLACKBERRY)
+    supportedImageMIMETypesForEncoding->add("image/png");
+    supportedImageMIMETypesForEncoding->add("image/jpeg");
 #endif
 }
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to