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

Unified Diff: third_party/WebKit/Source/core/html/HTMLImageElement.cpp

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/HTMLImageElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLImageElement.cpp b/third_party/WebKit/Source/core/html/HTMLImageElement.cpp
index e779e7be54a631ed36c838a0d943ece4d8e03b2b..9d0cf5e5b8e9648514cefe835720801520de83c0 100644
--- a/third_party/WebKit/Source/core/html/HTMLImageElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLImageElement.cpp
@@ -820,7 +820,7 @@ void HTMLImageElement::selectSourceURL(
ensureCollapsedOrFallbackContent();
}
-const KURL& HTMLImageElement::sourceURL() const {
+KURL HTMLImageElement::sourceURL() const {
return cachedImage()->response().url();
}

Powered by Google App Engine
This is Rietveld 408576698