| Index: Source/core/html/canvas/CanvasRenderingContext.h
|
| diff --git a/Source/core/html/canvas/CanvasRenderingContext.h b/Source/core/html/canvas/CanvasRenderingContext.h
|
| index 2f5cd637991cdd2f9d6517bf57336a5efc337ef3..a6bb835da10e544fa7db4c814350910e286d3581 100644
|
| --- a/Source/core/html/canvas/CanvasRenderingContext.h
|
| +++ b/Source/core/html/canvas/CanvasRenderingContext.h
|
| @@ -36,10 +36,7 @@ namespace blink { class WebLayer; }
|
|
|
| namespace WebCore {
|
|
|
| -class CanvasPattern;
|
| class HTMLCanvasElement;
|
| -class HTMLImageElement;
|
| -class HTMLVideoElement;
|
| class KURL;
|
| class WebGLObject;
|
|
|
| @@ -60,25 +57,11 @@ public:
|
| virtual void paintRenderingResultsToCanvas() {}
|
|
|
| virtual blink::WebLayer* platformLayer() const { return 0; }
|
| -
|
| protected:
|
| CanvasRenderingContext(HTMLCanvasElement*);
|
| - bool wouldTaintOrigin(const CanvasPattern*);
|
| - bool wouldTaintOrigin(const HTMLCanvasElement*);
|
| - bool wouldTaintOrigin(const HTMLImageElement*);
|
| - bool wouldTaintOrigin(const HTMLVideoElement*);
|
| - bool wouldTaintOrigin(const KURL&);
|
| -
|
| - template<class T> void checkOrigin(const T* arg)
|
| - {
|
| - if (wouldTaintOrigin(arg))
|
| - canvas()->setOriginTainted();
|
| - }
|
| - void checkOrigin(const KURL&);
|
|
|
| private:
|
| HTMLCanvasElement* m_canvas;
|
| - HashSet<String> m_cleanURLs;
|
| };
|
|
|
| } // namespace WebCore
|
|
|