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

Unified Diff: Source/core/html/HTMLCanvasElement.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/HTMLCanvasElement.h
diff --git a/Source/core/html/HTMLCanvasElement.h b/Source/core/html/HTMLCanvasElement.h
index c98b4b62c233b7d78fc62aa285c96ad6ea05954b..7e5c8911571631a4805d6936ea44246ed7a74f66 100644
--- a/Source/core/html/HTMLCanvasElement.h
+++ b/Source/core/html/HTMLCanvasElement.h
@@ -155,6 +155,7 @@ public:
virtual bool wouldTaintOrigin(SecurityOrigin*) const override;
virtual FloatSize sourceSize() const override;
virtual bool isCanvasElement() const override { return true; }
+ virtual bool isOpaque() const override;
// ImageBufferClient implementation
virtual void notifySurfaceInvalid() override;
« no previous file with comments | « no previous file | Source/core/html/HTMLCanvasElement.cpp » ('j') | Source/core/html/canvas/CanvasRenderingContext2D.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698