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

Unified Diff: third_party/WebKit/Source/modules/csspaint/PaintRenderingContext2D.h

Issue 1928043002: Add drawImage() originClean() getSecurityOrigin() to OffscreenCanvas (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: drawImage API added to interface listing Created 4 years, 8 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/modules/csspaint/PaintRenderingContext2D.h
diff --git a/third_party/WebKit/Source/modules/csspaint/PaintRenderingContext2D.h b/third_party/WebKit/Source/modules/csspaint/PaintRenderingContext2D.h
index 6e12cbac06254b12955ad109444f89c79affc5e0..55ab09b40339124a316431d43b72081da8fc88e1 100644
--- a/third_party/WebKit/Source/modules/csspaint/PaintRenderingContext2D.h
+++ b/third_party/WebKit/Source/modules/csspaint/PaintRenderingContext2D.h
@@ -33,7 +33,7 @@ public:
// is always clean, and unable to taint it.
bool originClean() const final { return true; }
void setOriginTainted() final { }
- bool wouldTaintOrigin(CanvasImageSource*, ScriptState*) final { return false; }
+ bool wouldTaintOrigin(CanvasImageSource*, ExecutionContext*) final { return false; }
int width() const final;
int height() const final;

Powered by Google App Engine
This is Rietveld 408576698