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

Unified Diff: third_party/WebKit/Source/core/html/HTMLCanvasElement.h

Issue 1532473002: Add a origin clean flag in ImageBitmap class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: take care of single security origin Created 4 years, 11 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/HTMLCanvasElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLCanvasElement.h b/third_party/WebKit/Source/core/html/HTMLCanvasElement.h
index a4a0f64220f6404787d50363b127b035c69274b8..f8da9dd75d58aa5bc44cf9aae6c891454539e757 100644
--- a/third_party/WebKit/Source/core/html/HTMLCanvasElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLCanvasElement.h
@@ -161,6 +161,7 @@ public:
bool isDirty() override { return !m_dirtyRect.isEmpty(); }
void didFinalizeFrame() override;
void restoreCanvasMatrixClipStack(SkCanvas*) const override;
+ bool hasSingleSecurityOrigin() override;
void doDeferredPaintInvalidation();

Powered by Google App Engine
This is Rietveld 408576698