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

Unified Diff: Source/bindings/core/dart/DartEventListener.cpp

Issue 1663753002: Apply all blink changes between @202695 and tip of trunk (Closed) Base URL: svn://svn.chromium.org/blink/branches/dart/2454_1
Patch Set: Created 4 years, 11 months 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
« no previous file with comments | « Source/bindings/core/dart/DartDOMWrapper.h ('k') | Source/bindings/core/dart/DartHandleProxy.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/dart/DartEventListener.cpp
diff --git a/Source/bindings/core/dart/DartEventListener.cpp b/Source/bindings/core/dart/DartEventListener.cpp
index a1ed6516a4e690e25c3ea1b2f4b9c52a169f2a44..338c2f4bcc66c0c41cdb81e8bd00b4651b8fd6ea 100644
--- a/Source/bindings/core/dart/DartEventListener.cpp
+++ b/Source/bindings/core/dart/DartEventListener.cpp
@@ -66,7 +66,7 @@ DartEventListener* DartEventListener::createOrFetch(Dart_Handle closure)
DartEventListener* listenerObj = listener.get();
intptr_t peerSize = sizeof(*listenerObj);
listener->m_isolate = Dart_CurrentIsolate();
- listener->m_listener = Dart_NewPrologueWeakPersistentHandle(closure, listenerObj, peerSize, &weakCallback);
+ listener->m_listener = Dart_NewWeakPersistentHandle(closure, listenerObj, peerSize, &weakCallback);
result = Dart_SetPeer(closure, listenerObj);
ASSERT(!Dart_IsError(result));
listener->ref();
« no previous file with comments | « Source/bindings/core/dart/DartDOMWrapper.h ('k') | Source/bindings/core/dart/DartHandleProxy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698