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

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

Issue 2086553002: Refactor ScriptWrappableVisitor.markWrapper(PersistentBase) to be instance method (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Whitespace fix Created 4 years, 6 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
Index: third_party/WebKit/Source/core/events/EventTarget.cpp
diff --git a/third_party/WebKit/Source/core/events/EventTarget.cpp b/third_party/WebKit/Source/core/events/EventTarget.cpp
index a71150749ef89ec1b135ece4bada79f7624da6c8..eebbc970a39888170bcd91bc0d0942934f824d3d 100644
--- a/third_party/WebKit/Source/core/events/EventTarget.cpp
+++ b/third_party/WebKit/Source/core/events/EventTarget.cpp
@@ -141,9 +141,7 @@ DEFINE_TRACE_WRAPPERS(EventTarget)
if (!v8listener->hasExistingListenerObject())
continue;
- ScriptWrappableVisitor::markWrapper(
- &(v8listener->existingListenerObjectPersistentHandle()),
- v8listener->isolate());
+ visitor->traceWrappers(v8listener);
}
}

Powered by Google App Engine
This is Rietveld 408576698