Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Unified Diff: third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.cpp

Issue 2479133002: [wrapper-tracing] Fix dispatching of TraceWrapperv8Reference (Closed)
Patch Set: Regenerate bindings results Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 46886c70f8619b437939a58f9c983401b3054c3c..8ed844641c38a7ce9e8a11ba829696a609b00ef0 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.cpp
@@ -109,8 +109,7 @@ void V8AbstractEventListener::setListenerObject(
} else {
m_keepAlive = this;
}
- m_listener.set(isolate(), listener);
- m_listener.setWeak(this, &wrapperCleared);
+ m_listener.set(isolate(), listener, this, &wrapperCleared);
}
void V8AbstractEventListener::invokeEventHandler(ScriptState* scriptState,

Powered by Google App Engine
This is Rietveld 408576698