Index: Source/core/html/canvas/CanvasRenderingContext.h |
diff --git a/Source/core/html/canvas/CanvasRenderingContext.h b/Source/core/html/canvas/CanvasRenderingContext.h |
index 7cfe2e53bd747c5d4424230ec1333e929fb9689a..0999d334bf7e759f916b4a1b4d769258b40070da 100644 |
--- a/Source/core/html/canvas/CanvasRenderingContext.h |
+++ b/Source/core/html/canvas/CanvasRenderingContext.h |
@@ -36,6 +36,7 @@ namespace blink { class WebLayer; } |
namespace WebCore { |
+class CanvasImageSource; |
class HTMLCanvasElement; |
class KURL; |
class WebGLObject; |
@@ -64,11 +65,15 @@ public: |
virtual void trace(Visitor* visitor) { visitor->trace(m_canvas); } |
+ bool wouldTaintOrigin(CanvasImageSource*); |
+ |
protected: |
CanvasRenderingContext(HTMLCanvasElement*); |
private: |
RawPtrWillBeMember<HTMLCanvasElement> m_canvas; |
+ HashSet<String> m_cleanURLs; |
+ HashSet<String> m_dirtyURLs; |
}; |
} // namespace WebCore |