| Index: third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp
|
| diff --git a/third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp b/third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp
|
| index a2f0dfafec224b09ba01d4034c3f2536cde40caf..44f812985432c570fbdfa19ffe423d5b6d8eb051 100644
|
| --- a/third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp
|
| +++ b/third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp
|
| @@ -214,8 +214,9 @@ ExecutionContext* PresentationConnection::getExecutionContext() const
|
| return frame()->document();
|
| }
|
|
|
| -bool PresentationConnection::addEventListenerInternal(const AtomicString& eventType, EventListener* listener, const EventListenerOptions& options)
|
| +void PresentationConnection::addedEventListener(const AtomicString& eventType, RegisteredEventListener& registeredListener)
|
| {
|
| + EventTargetWithInlineData::addedEventListener(eventType, registeredListener);
|
| if (eventType == EventTypeNames::connect)
|
| UseCounter::count(getExecutionContext(), UseCounter::PresentationConnectionConnectEventListener);
|
| else if (eventType == EventTypeNames::close)
|
| @@ -224,8 +225,6 @@ bool PresentationConnection::addEventListenerInternal(const AtomicString& eventT
|
| UseCounter::count(getExecutionContext(), UseCounter::PresentationConnectionTerminateEventListener);
|
| else if (eventType == EventTypeNames::message)
|
| UseCounter::count(getExecutionContext(), UseCounter::PresentationConnectionMessageEventListener);
|
| -
|
| - return EventTarget::addEventListenerInternal(eventType, listener, options);
|
| }
|
|
|
| DEFINE_TRACE(PresentationConnection)
|
|
|