HTMLSourceElement::~HTMLSourceElement() { sourceErrorEventSender().cancelEvent(this); #if !ENABLE(OILPAN) m_listener->clearElement(); #endif }
void HTMLSourceElement::dispatchPendingEvent(SourceEventSender* eventSender) { ASSERT_UNUSED(eventSender, eventSender == &sourceErrorEventSender()); WTF_LOG(Media, "HTMLSourceElement::dispatchPendingEvent - %p", this); dispatchEvent(Event::createCancelable(EventTypeNames::error)); }
void HTMLSourceElement::scheduleErrorEvent() { WTF_LOG(Media, "HTMLSourceElement::scheduleErrorEvent - %p", this); sourceErrorEventSender().dispatchEventSoon(this); }
void HTMLSourceElement::cancelPendingErrorEvent() { WTF_LOG(Media, "HTMLSourceElement::cancelPendingErrorEvent - %p", this); sourceErrorEventSender().cancelEvent(this); }
HTMLSourceElement::~HTMLSourceElement() { sourceErrorEventSender().cancelEvent(this); }