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

Unified Diff: third_party/WebKit/Source/platform/graphics/FrameData.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: Rebasing. DCHECK. Thanks fmalita@. 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/FrameData.h
diff --git a/third_party/WebKit/Source/platform/graphics/FrameData.h b/third_party/WebKit/Source/platform/graphics/FrameData.h
index 8b785b8da2a66b850ba4927e2b43e0290f99ca53..eca09d28229ff217fe09eae17616e77fd9a8d772 100644
--- a/third_party/WebKit/Source/platform/graphics/FrameData.h
+++ b/third_party/WebKit/Source/platform/graphics/FrameData.h
@@ -47,9 +47,8 @@ public:
// Clear the cached image data on the frame, and (optionally) the metadata.
// Returns whether there was cached image data to clear.
- bool clear(bool clearMetadata);
+ void clear(bool clearMetadata);
- RefPtr<SkImage> m_frame;
ImageOrientation m_orientation;
float m_duration;
bool m_haveMetadata : 1;

Powered by Google App Engine
This is Rietveld 408576698