Index: third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.h |
diff --git a/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.h b/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.h |
index f97398d3001858850fb96e32c7d8c873e1d3c044..f6e592a7737d633085ef4a1abf87ebe07ae3ee42 100644 |
--- a/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.h |
+++ b/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.h |
@@ -43,6 +43,9 @@ public: |
static void registerRenderingContextFactory(PassOwnPtr<CanvasRenderingContextFactory>); |
+ bool originClean() const; |
+ void setOriginTainted() { m_originClean = false; } |
+ |
DECLARE_VIRTUAL_TRACE(); |
private: |
@@ -56,6 +59,8 @@ private: |
int m_canvasId = -1; // DOMNodeIds starts from 0, using -1 to indicate no associated canvas element. |
IntSize m_size; |
bool m_isNeutered = false; |
+ |
+ bool m_originClean; |
}; |
} // namespace blink |