Title: [215804] trunk/Source/WebCore
Revision
215804
Author
s...@apple.com
Date
2017-04-26 09:24:34 -0700 (Wed, 26 Apr 2017)

Log Message

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):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (215803 => 215804)


--- trunk/Source/WebCore/ChangeLog	2017-04-26 16:13:02 UTC (rev 215803)
+++ trunk/Source/WebCore/ChangeLog	2017-04-26 16:24:34 UTC (rev 215804)
@@ -1,3 +1,15 @@
+2017-04-26  Said Abou-Hallawa  <sabouhall...@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  <ryanhad...@apple.com>
 
         Unreviewed, rolling out r215767.

Modified: trunk/Source/WebCore/platform/graphics/BitmapImage.cpp (215803 => 215804)


--- trunk/Source/WebCore/platform/graphics/BitmapImage.cpp	2017-04-26 16:13:02 UTC (rev 215803)
+++ trunk/Source/WebCore/platform/graphics/BitmapImage.cpp	2017-04-26 16:24:34 UTC (rev 215804)
@@ -273,7 +273,9 @@
 
 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()
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to