| Index: third_party/WebKit/Source/core/html/HTMLSourceElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLSourceElement.cpp b/third_party/WebKit/Source/core/html/HTMLSourceElement.cpp
|
| index 63d5c6bfdaaf9328070f542ed8249652554ebfde..a1269b76ee8f77369d94b622cab1ba0ca055aab0 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLSourceElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLSourceElement.cpp
|
| @@ -36,6 +36,8 @@
|
| #include "core/html/HTMLPictureElement.h"
|
| #include "platform/Logging.h"
|
|
|
| +#define SOURCE_LOG_LEVEL 3
|
| +
|
| namespace blink {
|
|
|
| using namespace HTMLNames;
|
| @@ -69,7 +71,7 @@ inline HTMLSourceElement::HTMLSourceElement(Document& document)
|
| : HTMLElement(sourceTag, document)
|
| , m_listener(new Listener(this))
|
| {
|
| - WTF_LOG(Media, "HTMLSourceElement::HTMLSourceElement - %p", this);
|
| + DVLOG(SOURCE_LOG_LEVEL) << "HTMLSourceElement - " << (void*)this;
|
| }
|
|
|
| DEFINE_NODE_FACTORY(HTMLSourceElement)
|
| @@ -136,20 +138,20 @@ void HTMLSourceElement::setType(const AtomicString& type)
|
|
|
| void HTMLSourceElement::scheduleErrorEvent()
|
| {
|
| - WTF_LOG(Media, "HTMLSourceElement::scheduleErrorEvent - %p", this);
|
| + DVLOG(SOURCE_LOG_LEVEL) << "scheduleErrorEvent - " << (void*)this;
|
| sourceErrorEventSender().dispatchEventSoon(this);
|
| }
|
|
|
| void HTMLSourceElement::cancelPendingErrorEvent()
|
| {
|
| - WTF_LOG(Media, "HTMLSourceElement::cancelPendingErrorEvent - %p", this);
|
| + DVLOG(SOURCE_LOG_LEVEL) << "cancelPendingErrorEvent - " << (void*)this;
|
| sourceErrorEventSender().cancelEvent(this);
|
| }
|
|
|
| void HTMLSourceElement::dispatchPendingEvent(SourceEventSender* eventSender)
|
| {
|
| ASSERT_UNUSED(eventSender, eventSender == &sourceErrorEventSender());
|
| - WTF_LOG(Media, "HTMLSourceElement::dispatchPendingEvent - %p", this);
|
| + DVLOG(SOURCE_LOG_LEVEL) << "dispatchPendingEvent - " << (void*)this;
|
| dispatchEvent(Event::createCancelable(EventTypeNames::error));
|
| }
|
|
|
|
|