diff options
Diffstat (limited to 'third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp')
-rw-r--r-- | third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp b/third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp index 5f08a4a..716c872 100644 --- a/third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp +++ b/third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp @@ -13,6 +13,7 @@ #include "core/events/MessageEvent.h" #include "core/fileapi/FileReaderLoader.h" #include "core/fileapi/FileReaderLoaderClient.h" +#include "core/frame/Deprecation.h" #include "core/frame/LocalFrame.h" #include "core/frame/UseCounter.h" #include "modules/EventTargetModules.h" @@ -185,7 +186,7 @@ ExecutionContext* PresentationConnection::executionContext() const bool PresentationConnection::addEventListenerInternal(const AtomicString& eventType, PassRefPtrWillBeRawPtr<EventListener> listener, const EventListenerOptions& options) { if (eventType == EventTypeNames::statechange) - UseCounter::count(executionContext(), UseCounter::PresentationConnectionStateChangeEventListener); + Deprecation::countDeprecation(executionContext(), UseCounter::PresentationConnectionStateChangeEventListener); else if (eventType == EventTypeNames::connect) UseCounter::count(executionContext(), UseCounter::PresentationConnectionConnectEventListener); else if (eventType == EventTypeNames::close) |