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

Unified Diff: third_party/WebKit/Source/platform/graphics/GeneratedImage.h

Issue 1925533003: High CPU and increased memory usage fix for high-res (GIF, WEBP...) animations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nits related to review #31 Created 4 years, 7 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/graphics/GeneratedImage.h
diff --git a/third_party/WebKit/Source/platform/graphics/GeneratedImage.h b/third_party/WebKit/Source/platform/graphics/GeneratedImage.h
index de9cb3928af4b74331e7aa5c634d8286a58f6182..fadc7551fe81729c111f2b9ddcca42ba45b21324 100644
--- a/third_party/WebKit/Source/platform/graphics/GeneratedImage.h
+++ b/third_party/WebKit/Source/platform/graphics/GeneratedImage.h
@@ -42,7 +42,7 @@ public:
IntSize size() const override { return m_size; }
// Assume that generated content has no decoded data we need to worry about
- void destroyDecodedData(bool) override { }
+ void destroyDecodedData() override { }
PassRefPtr<SkImage> imageForCurrentFrame() override;

Powered by Google App Engine
This is Rietveld 408576698