Other animated image formats should have the same aggressive purge behavior. So move it out of the GIF decoder and into ImageDecoder.
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/ac1c98466364aa2bcdfedbfc8c0d1c73450aab44 commit ac1c98466364aa2bcdfedbfc8c0d1c73450aab44 Author: cblume <cblume@chromium.org> Date: Thu Oct 06 21:36:05 2016 Move GIF decoder's aggressive purge into ImageDecoder Other animated image formats should have the same aggressive purge behavior. So move it out of the GIF decoder and into ImageDecoder. BUG= 651666 Review-Url: https://codereview.chromium.org/2376033005 Cr-Commit-Position: refs/heads/master@{#423691} [modify] https://crrev.com/ac1c98466364aa2bcdfedbfc8c0d1c73450aab44/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.cpp [modify] https://crrev.com/ac1c98466364aa2bcdfedbfc8c0d1c73450aab44/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.h [modify] https://crrev.com/ac1c98466364aa2bcdfedbfc8c0d1c73450aab44/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoder.cpp [modify] https://crrev.com/ac1c98466364aa2bcdfedbfc8c0d1c73450aab44/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoder.h
[Automated comment] removing mislabelled merge-merged-2840
Comment 1 by cblume@chromium.org
, Sep 30 2016