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

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

Issue 2046473002: media: Remove logMedia from WTFLogChannel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/Logging.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
index 7beecb9dd4be9a28665ac847fe9e6f45f67b085f..542f86484ccacaef25a2119f4d7d4bb929e915d8 100644
--- a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
@@ -535,7 +535,7 @@ bool HTMLMediaElement::isMouseFocusable() const
void HTMLMediaElement::parseAttribute(const QualifiedName& name, const AtomicString& oldValue, const AtomicString& value)
{
if (name == srcAttr) {
- WTF_LOG(Media, "HTMLMediaElement::parseAttribute(%p, srcAttr, old=%s, new=%s)", this, oldValue.utf8().data(), value.utf8().data());
+ DVLOG(MEDIA_LOG_LEVEL) << "parseAttribute(" << (void*)this << ", srcAttr, old=" << oldValue << ", new=" << value << ")";
// Trigger a reload, as long as the 'src' attribute is present.
if (!value.isNull()) {
m_ignorePreloadNone = false;
@@ -675,7 +675,7 @@ void HTMLMediaElement::setSrc(const AtomicString& url)
void HTMLMediaElement::setSrcObject(MediaStreamDescriptor* srcObject)
{
- WTF_LOG(Media, "HTMLMediaElement::setSrcObject(%p)", this);
+ DVLOG(MEDIA_LOG_LEVEL) << "setSrcObject(" << (void*)this << ")";
m_srcObject = srcObject;
invokeLoadAlgorithm();
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/Logging.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698