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

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

Issue 2351363002: Make CSSStyleImageValue a member of CanvasImageSource. (Closed)
Patch Set: Override isAccelerated Created 4 years, 3 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 4e3e2fa46bfe4bd74ce420c450b800e85caf9e79..f73311adb2bf2365cb0f4d16acce1094847b1d2a 100644
--- a/third_party/WebKit/Source/core/html/canvas/CanvasImageSource.h
+++ b/third_party/WebKit/Source/core/html/canvas/CanvasImageSource.h
@@ -54,6 +54,7 @@ public:
// another canvas, which may not be already tainted.
virtual bool wouldTaintOrigin(SecurityOrigin* destinationSecurityOrigin) const = 0;
+ virtual bool isCSSImageValue() const { return false; }
virtual bool isVideoElement() const { return false; }
virtual bool isCanvasElement() const { return false; }
virtual bool isSVGSource() const { return false; }

Powered by Google App Engine
This is Rietveld 408576698