Index: third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.cpp b/third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.cpp |
index 020cd3c3cf4e696bd93e18ae3204448ef1adf080..13c80058cff62d3b337fc533abe6fa84c1059346 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.cpp |
@@ -55,10 +55,6 @@ V8AbstractEventListener::V8AbstractEventListener(bool isAttribute, DOMWrapperWor |
V8AbstractEventListener::~V8AbstractEventListener() |
{ |
- if (!m_listener.isEmpty()) { |
- v8::HandleScope scope(m_isolate); |
- V8EventListenerList::clearWrapper(m_listener.newLocal(isolate()), m_isAttribute, isolate()); |
- } |
if (isMainThread()) |
InstanceCounters::decrementCounter(InstanceCounters::JSEventListenerCounter); |
} |