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

Unified Diff: Source/core/html/HTMLVideoElement.cpp

Issue 108313015: Make calls to AtomicString(const String&) explicit in html/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Take feedback into consideration Created 6 years, 12 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: Source/core/html/HTMLVideoElement.cpp
diff --git a/Source/core/html/HTMLVideoElement.cpp b/Source/core/html/HTMLVideoElement.cpp
index b5c1c00ebb4fbb00e36200c2e39ec769e6253789..c5400216561c328aeab179c85be53d0ece5f4ce0 100644
--- a/Source/core/html/HTMLVideoElement.cpp
+++ b/Source/core/html/HTMLVideoElement.cpp
@@ -48,7 +48,7 @@ inline HTMLVideoElement::HTMLVideoElement(Document& document, bool createdByPars
{
ScriptWrappable::init(this);
if (document.settings())
- m_defaultPosterURL = document.settings()->defaultVideoPosterURL();
+ m_defaultPosterURL = AtomicString(document.settings()->defaultVideoPosterURL());
}
PassRefPtr<HTMLVideoElement> HTMLVideoElement::create(Document& document, bool createdByParser)

Powered by Google App Engine
This is Rietveld 408576698