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

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

Issue 2806803003: Make OffscreenCanvas WebGL(2) context consider taintedness of image source (Closed)
Patch Set: rebase Created 3 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/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 0b6b6f7a884854c38aaa606881e21bb5dd392f54..d8a1f1f586996bd119dfe164d066d4f63d1f5952 100644
--- a/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h
+++ b/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h
@@ -208,7 +208,7 @@ class CORE_EXPORT CanvasRenderingContext
OffscreenCanvas* offscreenCanvas() const { return offscreen_canvas_; }
virtual ImageBitmap* TransferToImageBitmap(ScriptState*) { return nullptr; }
- bool WouldTaintOrigin(CanvasImageSource*, SecurityOrigin* = nullptr);
+ bool WouldTaintOrigin(CanvasImageSource*, SecurityOrigin*);
void DidMoveToNewDocument(Document*);
void DetachCanvas() { canvas_ = nullptr; }

Powered by Google App Engine
This is Rietveld 408576698