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

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

Issue 1919363002: Add createGradient and createPattern to OffscreenCanvas2D in worker (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ScriptState 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 35a49ccfa71fb8e5820ff67bad98e36f93c4ee6e..307618d55b7b211c36125431818bf895419c144a 100644
--- a/third_party/WebKit/Source/modules/csspaint/PaintRenderingContext2D.h
+++ b/third_party/WebKit/Source/modules/csspaint/PaintRenderingContext2D.h
@@ -32,7 +32,7 @@ public:
// is always clean, and unable to taint it.
bool originClean() const final { return true; }
void setOriginTainted() final { }
- bool wouldTaintOrigin(CanvasImageSource*) final { return false; }
+ bool wouldTaintOrigin(CanvasImageSource*, ScriptState*) final { return false; }
int width() const final;
int height() const final;

Powered by Google App Engine
This is Rietveld 408576698