| 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..cf15b09d9b111094533f32279f669104d63f2645 100644
|
| --- a/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.h
|
| +++ b/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.h
|
| @@ -43,6 +43,10 @@ public:
|
|
|
| static void registerRenderingContextFactory(PassOwnPtr<CanvasRenderingContextFactory>);
|
|
|
| + SecurityOrigin* getSecurityOrigin(ScriptState*) const;
|
| + bool originClean() const;
|
| + void setOriginTainted() { m_originClean = false; }
|
| +
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| private:
|
| @@ -56,6 +60,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
|
|
|