Unreviewed, review follow-up after r218961
authorsaid@apple.com <said@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 5 Jul 2017 04:44:26 +0000 (04:44 +0000)
committersaid@apple.com <said@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 5 Jul 2017 04:44:26 +0000 (04:44 +0000)
* platform/graphics/BitmapImage.cpp:
(WebCore::BitmapImage::updateFromSettings):

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

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

index 8b4f260..a82c4e2 100644 (file)
@@ -1,3 +1,10 @@
+2017-07-04  Said Abou-Hallawa  <sabouhallawa@apple.com>
+
+        Unreviewed, review follow-up after r218961
+
+        * platform/graphics/BitmapImage.cpp:
+        (WebCore::BitmapImage::updateFromSettings):
+
 2017-07-04  Antti Koivisto  <antti@apple.com>
 
         RenderThemeCocoa::mediaControlsFormattedStringForDuration is leaking NSDateComponentsFormatters
index 546e03d..9ca0aba 100644 (file)
@@ -70,7 +70,9 @@ void BitmapImage::updateFromSettings(const Settings& settings)
 {
     m_allowSubsampling = settings.imageSubsamplingEnabled();
 #if PLATFORM(IOS)
-    if (!IOSApplication::isIBooks())
+    if (IOSApplication::isIBooks())
+        m_allowLargeImageAsyncDecoding = false;
+    else
 #endif
         m_allowLargeImageAsyncDecoding = settings.largeImageAsyncDecodingEnabled();
     m_allowAnimatedImageAsyncDecoding = settings.animatedImageAsyncDecodingEnabled();