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

Unified Diff: third_party/WebKit/Source/core/html/canvas/CanvasImageSource.h

Issue 2294383002: Make OffscreenCanvas a member of CanvasImageSource (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 4 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/core/html/canvas/CanvasImageSource.h
diff --git a/third_party/WebKit/Source/core/html/canvas/CanvasImageSource.h b/third_party/WebKit/Source/core/html/canvas/CanvasImageSource.h
index 8713294679e6cd202e547f990c75160e8a79d29c..f38c8e22c88062cad45ce419336adf2364cbff3b 100644
--- a/third_party/WebKit/Source/core/html/canvas/CanvasImageSource.h
+++ b/third_party/WebKit/Source/core/html/canvas/CanvasImageSource.h
@@ -58,6 +58,7 @@ public:
virtual bool isCanvasElement() const { return false; }
virtual bool isSVGSource() const { return false; }
virtual bool isImageBitmap() const { return false; }
+ virtual bool isOffscreenCanvas() const { return false; }
// Adjusts the source and destination rectangles for cases where the actual
// source image is a subregion of the image returned by getSourceImageForCanvas.

Powered by Google App Engine
This is Rietveld 408576698