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

Unified Diff: third_party/WebKit/Source/core/html/HTMLVideoElement.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/HTMLVideoElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLVideoElement.h b/third_party/WebKit/Source/core/html/HTMLVideoElement.h
index 519530cd7cb8184b71ae0296b74e05c2bd96d3bc..597ae575dd4a535eadb5efb76d3456ce806faa9e 100644
--- a/third_party/WebKit/Source/core/html/HTMLVideoElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLVideoElement.h
@@ -104,7 +104,7 @@ class CORE_EXPORT HTMLVideoElement final : public HTMLMediaElement,
bool isVideoElement() const override { return true; }
bool wouldTaintOrigin(SecurityOrigin*) const override;
FloatSize elementSize(const FloatSize&) const override;
- const KURL& sourceURL() const override { return currentSrc(); }
+ KURL sourceURL() const override { return currentSrc(); }
bool isHTMLVideoElement() const override { return true; }
int sourceWidth() override { return videoWidth(); }
int sourceHeight() override { return videoHeight(); }

Powered by Google App Engine
This is Rietveld 408576698