Index: third_party/WebKit/Source/core/events/EventTarget.cpp |
diff --git a/third_party/WebKit/Source/core/events/EventTarget.cpp b/third_party/WebKit/Source/core/events/EventTarget.cpp |
index bec81263ddf910d7cedf02f6f9cef151f16c805d..472c861867b250650baba69aa3f475950fd10cb5 100644 |
--- a/third_party/WebKit/Source/core/events/EventTarget.cpp |
+++ b/third_party/WebKit/Source/core/events/EventTarget.cpp |
@@ -316,6 +316,11 @@ void EventTarget::addedEventListener( |
UseCounter::count(executingWindow->document(), |
UseCounter::AuxclickAddListenerCount); |
} |
+ } else if (eventType == EventTypeNames::appinstalled) { |
+ if (LocalDOMWindow* executingWindow = this->executingWindow()) { |
+ UseCounter::count(executingWindow->document(), |
+ UseCounter::AppInstalledEventAddListener); |
+ } |
} else if (EventUtil::isPointerEventType(eventType)) { |
if (LocalDOMWindow* executingWindow = this->executingWindow()) { |
UseCounter::count(executingWindow->document(), |