Attempt to fix a PLT regression.
authorsaid@apple.com <said@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 26 Apr 2017 16:24:34 +0000 (16:24 +0000)
committersaid@apple.com <said@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 26 Apr 2017 16:24:34 +0000 (16:24 +0000)
Unreviewed.

Disable async decoding for large images till the flickering bug wk170640
is fixed.

* platform/graphics/BitmapImage.cpp:
(WebCore::BitmapImage::shouldUseAsyncDecodingForLargeImages):

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

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/BitmapImage.cpp

index 586fefa..506dcbc 100644 (file)
@@ -1,3 +1,15 @@
+2017-04-26  Said Abou-Hallawa  <sabouhallawa@apple.com>
+
+        Attempt to fix a PLT regression.
+
+        Unreviewed.
+
+        Disable async decoding for large images till the flickering bug wk170640
+        is fixed.
+
+        * platform/graphics/BitmapImage.cpp:
+        (WebCore::BitmapImage::shouldUseAsyncDecodingForLargeImages):
+
 2017-04-26  Ryan Haddad  <ryanhaddad@apple.com>
 
         Unreviewed, rolling out r215767.
index 2ce462a..c48e1ec 100644 (file)
@@ -273,7 +273,9 @@ bool BitmapImage::canAnimate()
 
 bool BitmapImage::shouldUseAsyncDecodingForLargeImages()
 {
-    return !canAnimate() && allowLargeImageAsyncDecoding() && m_source.shouldUseAsyncDecoding();
+    // FIXME: enable async image decoding after the flickering bug wk170640 is fixed.
+    // return !canAnimate() && allowLargeImageAsyncDecoding() && m_source.shouldUseAsyncDecoding();
+    return false;
 }
 
 bool BitmapImage::shouldUseAsyncDecodingForAnimatedImages()