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

Unified Diff: third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.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/offscreencanvas2d/OffscreenCanvasRenderingContext2D.h
diff --git a/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.h b/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.h
index 1db409c741ce1a55017507de1e6ac80c65c8c474..62a976345a1518959a62f5e6c52bcea175854314 100644
--- a/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.h
+++ b/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.h
@@ -45,7 +45,7 @@ public:
// BaseRenderingContext2D implementation
bool originClean() const final;
void setOriginTainted() final;
- bool wouldTaintOrigin(CanvasImageSource*, ScriptState*) final;
+ bool wouldTaintOrigin(CanvasImageSource*, ExecutionContext*) final;
int width() const final;
int height() const final;
@@ -79,7 +79,6 @@ protected:
private:
bool m_hasAlpha;
- bool m_originClean = true;
OwnPtr<ImageBuffer> m_imageBuffer;
};

Powered by Google App Engine
This is Rietveld 408576698