Index: Source/core/html/HTMLMediaElement.cpp |
diff --git a/Source/core/html/HTMLMediaElement.cpp b/Source/core/html/HTMLMediaElement.cpp |
index 2b2ba98431ba0b7a231a415e588703ba16fa37c7..b981ae3bd0aa6359666bf9004abe1292cc2265cc 100644 |
--- a/Source/core/html/HTMLMediaElement.cpp |
+++ b/Source/core/html/HTMLMediaElement.cpp |
@@ -580,7 +580,7 @@ PassRefPtr<MediaError> HTMLMediaElement::error() const |
return m_error; |
} |
-void HTMLMediaElement::setSrc(const String& url) |
+void HTMLMediaElement::setSrc(const AtomicString& url) |
{ |
setAttribute(srcAttr, url); |
} |
@@ -2885,7 +2885,7 @@ KURL HTMLMediaElement::selectNextSourceChild(ContentType* contentType, String* k |
RefPtr<MediaQuerySet> media = MediaQuerySet::create(source->media()); |
#if !LOG_DISABLED |
if (shouldLog) |
- WTF_LOG(Media, "HTMLMediaElement::selectNextSourceChild - 'media' is %s", source->media().utf8().data()); |
+ WTF_LOG(Media, "HTMLMediaElement::selectNextSourceChild - 'media' is %s", source->media().string().utf8().data()); |
#endif |
if (!screenEval.eval(media.get())) { |
UseCounter::count(document(), UseCounter::SourceElementNonMatchingMedia); |