Index: Source/core/dom/Document.cpp |
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
index bc4ef92f678fc3009ff71bd844a56642f1c0136d..1daba31a6809e26d1cedcbb211fda357e2933957 100644 |
--- a/Source/core/dom/Document.cpp |
+++ b/Source/core/dom/Document.cpp |
@@ -3943,7 +3943,7 @@ void Document::addListenerTypeIfNeeded(const AtomicString& eventType) |
UseCounter::count(*this, UseCounter::DOMCharacterDataModifiedEvent); |
addMutationEventListenerTypeIfEnabled(DOMCHARACTERDATAMODIFIED_LISTENER); |
} else if (eventType == EventTypeNames::overflowchanged) { |
- UseCounter::count(*this, UseCounter::OverflowChangedEvent); |
+ UseCounter::countDeprecation(*this, UseCounter::OverflowChangedEvent); |
addListenerType(OVERFLOWCHANGED_LISTENER); |
} else if (eventType == EventTypeNames::webkitAnimationStart || (RuntimeEnabledFeatures::cssAnimationUnprefixedEnabled() && eventType == EventTypeNames::animationstart)) { |
addListenerType(ANIMATIONSTART_LISTENER); |