Chromium Code Reviews| 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); |
|
pdr.
2015/02/16 19:57:32
Can you remove this entry from UseCounter.h as wel
Timothy Loh
2015/02/16 23:21:12
Done.
|
| - 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); |
|
pdr.
2015/02/16 19:57:32
Can you remove this entry from UseCounter.h as wel
|
| - return false; |
| -} |
| - |
| bool EventTarget::removeEventListener(const AtomicString& eventType, PassRefPtr<EventListener> listener, bool useCapture) |
| { |
| // FIXME: listener null check should throw TypeError (and be done in |