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

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

Issue 2493673002: Synchronize OffscreenCanvas content with the placeholder canvas (Closed)
Patch Set: fix obsolete test Created 4 years, 1 month 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/Image.h
diff --git a/third_party/WebKit/Source/platform/graphics/Image.h b/third_party/WebKit/Source/platform/graphics/Image.h
index 61ae170e1fc0fc7c714de703728f5cb95cd7d02b..87f940d7eaca09d19220556440e9842580693c49 100644
--- a/third_party/WebKit/Source/platform/graphics/Image.h
+++ b/third_party/WebKit/Source/platform/graphics/Image.h
@@ -84,6 +84,7 @@ class PLATFORM_EXPORT Image : public ThreadSafeRefCounted<Image> {
virtual bool currentFrameIsComplete() { return false; }
virtual bool currentFrameIsLazyDecoded() { return false; }
virtual bool isTextureBacked();
+ virtual void transfer() {}
xidachen 2016/11/14 19:05:03 I am not sure why this function is moved from Stat
// Derived classes should override this if they can assure that the current
// image frame contains only resources from its own security origin.

Powered by Google App Engine
This is Rietveld 408576698