Title: [222906] trunk/Source/WebCore
Revision
222906
Author
[email protected]
Date
2017-10-05 02:28:54 -0700 (Thu, 05 Oct 2017)

Log Message

Align BitmapImage::LargeAnimationCutoff to a megabyte value
https://bugs.webkit.org/show_bug.cgi?id=177924

Reviewed by Carlos Garcia Campos.

* platform/graphics/BitmapImage.h: Fix the 1014 multiplier used to calculate
the LargeAnimationCutoff value. It was most likely a typo.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (222905 => 222906)


--- trunk/Source/WebCore/ChangeLog	2017-10-05 09:04:14 UTC (rev 222905)
+++ trunk/Source/WebCore/ChangeLog	2017-10-05 09:28:54 UTC (rev 222906)
@@ -1,3 +1,13 @@
+2017-10-05  Zan Dobersek  <[email protected]>
+
+        Align BitmapImage::LargeAnimationCutoff to a megabyte value
+        https://bugs.webkit.org/show_bug.cgi?id=177924
+
+        Reviewed by Carlos Garcia Campos.
+
+        * platform/graphics/BitmapImage.h: Fix the 1014 multiplier used to calculate
+        the LargeAnimationCutoff value. It was most likely a typo.
+
 2017-10-05  Wenson Hsieh  <[email protected]>
 
         Address post-review feedback following r222885

Modified: trunk/Source/WebCore/platform/graphics/BitmapImage.h (222905 => 222906)


--- trunk/Source/WebCore/platform/graphics/BitmapImage.h	2017-10-05 09:04:14 UTC (rev 222905)
+++ trunk/Source/WebCore/platform/graphics/BitmapImage.h	2017-10-05 09:28:54 UTC (rev 222906)
@@ -202,7 +202,7 @@
     void dump(WTF::TextStream&) const override;
 
     // Animated images over a certain size are considered large enough that we'll only hang on to one frame at a time.
-    static const unsigned LargeAnimationCutoff = 30 * 1014 * 1024;
+    static const unsigned LargeAnimationCutoff = 30 * 1024 * 1024;
 
     mutable ImageSource m_source;
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to