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

Unified Diff: Source/core/html/canvas/CanvasImageSource.h

Issue 297293004: Adding cache for security origin validations in 2D/WebGL canvases (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: reorganized code Created 6 years, 7 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
« no previous file with comments | « Source/core/html/HTMLVideoElement.h ('k') | Source/core/html/canvas/CanvasRenderingContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/canvas/CanvasImageSource.h
diff --git a/Source/core/html/canvas/CanvasImageSource.h b/Source/core/html/canvas/CanvasImageSource.h
index 6c51714e499831e23deea45d20f4bcf0e4af7f95..10e3b958b6c629230e4cee594bd45daae51d49e6 100644
--- a/Source/core/html/canvas/CanvasImageSource.h
+++ b/Source/core/html/canvas/CanvasImageSource.h
@@ -66,6 +66,7 @@ public:
virtual FloatSize sourceSize() const = 0;
virtual FloatSize defaultDestinationSize() const { return sourceSize(); }
+ virtual const KURL& sourceURL() const { return blankURL(); }
protected:
virtual ~CanvasImageSource() { }
« no previous file with comments | « Source/core/html/HTMLVideoElement.h ('k') | Source/core/html/canvas/CanvasRenderingContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698