Skip to content

Commit

Permalink
Merge r222906 - Align BitmapImage::LargeAnimationCutoff to a megabyte…
Browse files Browse the repository at this point in the history
… 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.
  • Loading branch information
zdobersek authored and carlosgcampos committed Oct 17, 2017
1 parent 9b706cc commit 4049dde
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions Source/WebCore/ChangeLog
@@ -1,3 +1,13 @@
2017-10-05 Zan Dobersek <zdobersek@igalia.com>

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-04 Miguel Gomez <magomez@igalia.com>

[GTK][WPE] Fix playback of GIFs
Expand Down
2 changes: 1 addition & 1 deletion Source/WebCore/platform/graphics/BitmapImage.h
Expand Up @@ -200,7 +200,7 @@ class BitmapImage final : public Image {
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;

Expand Down

0 comments on commit 4049dde

Please sign in to comment.