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

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

Issue 2680933005: Make static KURLs thread safe
Patch Set: :/ Created 3 years, 10 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
Index: third_party/WebKit/Source/core/html/canvas/CanvasImageSource.h
diff --git a/third_party/WebKit/Source/core/html/canvas/CanvasImageSource.h b/third_party/WebKit/Source/core/html/canvas/CanvasImageSource.h
index cab87e062e2f079ec83feb0d491f36dee0c8b42b..6b81479a4babc4ce81d919a3e978c932dd311c2b 100644
--- a/third_party/WebKit/Source/core/html/canvas/CanvasImageSource.h
+++ b/third_party/WebKit/Source/core/html/canvas/CanvasImageSource.h
@@ -78,7 +78,7 @@ class CORE_EXPORT CanvasImageSource {
const FloatSize& defaultObjectSize) const {
return elementSize(defaultObjectSize);
}
- virtual const KURL& sourceURL() const { return blankURL(); }
+ virtual KURL sourceURL() const { return KURL(); }
virtual bool isOpaque() const { return false; }
virtual bool isAccelerated() const = 0;

Powered by Google App Engine
This is Rietveld 408576698