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

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

Issue 907453003: Move overdraw tracking code from GraphicsContext to CanvasRenderingContext2D (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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: Source/core/html/canvas/CanvasImageSource.h
diff --git a/Source/core/html/canvas/CanvasImageSource.h b/Source/core/html/canvas/CanvasImageSource.h
index 8c0a9df20e25acb294cc031f55bd848e16b5aabc..b15e00b537ca41ba22de3b967f2afd0c3e0fc1fe 100644
--- a/Source/core/html/canvas/CanvasImageSource.h
+++ b/Source/core/html/canvas/CanvasImageSource.h
@@ -68,6 +68,7 @@ public:
virtual FloatSize sourceSize() const = 0;
virtual FloatSize defaultDestinationSize() const { return sourceSize(); }
virtual const KURL& sourceURL() const { return blankURL(); }
+ virtual bool isOpaque() const { return false; }
protected:
virtual ~CanvasImageSource() { }

Powered by Google App Engine
This is Rietveld 408576698