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

Unified Diff: third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h

Issue 1954533002: Implement wouldTaintOrigin and expose createPattern for OCRC2D on main thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: OCRC2D pattern is working fine in GPU; remove Failure mark in TestExpectations Created 4 years, 7 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/canvas/CanvasRenderingContext.h
diff --git a/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h b/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h
index 315aebe2986aed5ffb94ea6f770e6b60ae623c77..a22003a7ea9b6203500ec936a823f5885e559e37 100644
--- a/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h
+++ b/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h
@@ -119,7 +119,7 @@ public:
// ImageBitmap-specific interface
virtual bool paint(GraphicsContext&, const IntRect&) { return false; }
- bool wouldTaintOrigin(CanvasImageSource*);
+ bool wouldTaintOrigin(CanvasImageSource*, SecurityOrigin* = nullptr);
void didMoveToNewDocument(Document*);
// OffscreenCanvas-specific methods

Powered by Google App Engine
This is Rietveld 408576698