Index: Source/core/html/HTMLMediaElement.cpp |
diff --git a/Source/core/html/HTMLMediaElement.cpp b/Source/core/html/HTMLMediaElement.cpp |
index 49b8f1d634c74373a0280210af6eec61ac118b00..bb0916f9b295ba3ae240b63cca6cebe951b513f7 100644 |
--- a/Source/core/html/HTMLMediaElement.cpp |
+++ b/Source/core/html/HTMLMediaElement.cpp |
@@ -548,7 +548,7 @@ void HTMLMediaElement::scheduleNextSourceChild() |
void HTMLMediaElement::scheduleEvent(const AtomicString& eventName) |
{ |
#if LOG_MEDIA_EVENTS |
- WTF_LOG(Media, "HTMLMediaElement::scheduleEvent - scheduling '%s'", eventName.string().ascii().data()); |
+ WTF_LOG(Media, "HTMLMediaElement::scheduleEvent - scheduling '%s'", eventName.ascii().data()); |
#endif |
m_asyncEventQueue->enqueueEvent(Event::createCancelable(eventName)); |
} |
@@ -2083,7 +2083,7 @@ String HTMLMediaElement::preload() const |
void HTMLMediaElement::setPreload(const AtomicString& preload) |
{ |
- WTF_LOG(Media, "HTMLMediaElement::setPreload(%s)", preload.string().utf8().data()); |
+ WTF_LOG(Media, "HTMLMediaElement::setPreload(%s)", preload.utf8().data()); |
setAttribute(preloadAttr, preload); |
} |
@@ -2879,7 +2879,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().string().utf8().data()); |
+ WTF_LOG(Media, "HTMLMediaElement::selectNextSourceChild - 'media' is %s", source->media().utf8().data()); |
#endif |
if (!screenEval.eval(media.get())) { |
UseCounter::count(document(), UseCounter::SourceElementNonMatchingMedia); |