Chromium Code Reviews

Unified Diff: Source/core/events/EventTarget.cpp

Issue 928103002: Remove some unused functions in core (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: git cl try Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « Source/core/events/EventTarget.h ('k') | Source/core/frame/UseCounter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/EventTarget.cpp
diff --git a/Source/core/events/EventTarget.cpp b/Source/core/events/EventTarget.cpp
index b3b1d6ba7b234c825f68657529b92062a8a4c0b4..064eef6d095e956e325431338e475d7efafe1193 100644
--- a/Source/core/events/EventTarget.cpp
+++ b/Source/core/events/EventTarget.cpp
@@ -94,12 +94,6 @@ bool EventTarget::addEventListener()
return false;
}
-bool EventTarget::addEventListener(const AtomicString& eventType)
-{
- UseCounter::count(executionContext(), UseCounter::AddEventListenerOneArgument);
- return false;
-}
-
bool EventTarget::addEventListener(const AtomicString& eventType, PassRefPtr<EventListener> listener, bool useCapture)
{
// FIXME: listener null check should throw TypeError (and be done in
@@ -124,12 +118,6 @@ bool EventTarget::removeEventListener()
return false;
}
-bool EventTarget::removeEventListener(const AtomicString& eventType)
-{
- UseCounter::count(executionContext(), UseCounter::RemoveEventListenerOneArgument);
- return false;
-}
-
bool EventTarget::removeEventListener(const AtomicString& eventType, PassRefPtr<EventListener> listener, bool useCapture)
{
// FIXME: listener null check should throw TypeError (and be done in
« no previous file with comments | « Source/core/events/EventTarget.h ('k') | Source/core/frame/UseCounter.h » ('j') | no next file with comments »

Powered by Google App Engine