Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(994)

Unified Diff: third_party/WebKit/Source/platform/image-decoders/ImageDecoder.cpp

Issue 2048003002: Remove DeferredImageDecoder::setEnabled and ImageDecoder::deferredImageDecodingEnabled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/image-decoders/ImageDecoder.cpp
diff --git a/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.cpp b/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.cpp
index 73620fb5e32cb3ffabbd4bf28317e692c075ebc7..6a88796935e60f1951be51faee22c0769e4a4cb5 100644
--- a/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.cpp
+++ b/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.cpp
@@ -21,7 +21,6 @@
#include "platform/image-decoders/ImageDecoder.h"
#include "platform/PlatformInstrumentation.h"
-#include "platform/graphics/DeferredImageDecoder.h"
#include "platform/image-decoders/bmp/BMPImageDecoder.h"
#include "platform/image-decoders/gif/GIFImageDecoder.h"
#include "platform/image-decoders/ico/ICOImageDecoder.h"
@@ -184,11 +183,6 @@ size_t ImageDecoder::frameBytesAtIndex(size_t index) const
return ImageSize(frameSizeAtIndex(index)).area * sizeof(ImageFrame::PixelData);
}
-bool ImageDecoder::deferredImageDecodingEnabled()
-{
- return DeferredImageDecoder::enabled();
-}
-
size_t ImageDecoder::clearCacheExceptFrame(size_t clearExceptFrame)
{
// Don't clear if there are no frames or only one frame.

Powered by Google App Engine
This is Rietveld 408576698