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

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

Issue 2728203002: Remove WRAPPER_VISITOR_SPECIAL_CLASSES (Closed)
Patch Set: Change CanTraceWrappers Created 3 years, 9 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/bindings/core/v8/ScriptWrappableVisitor.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitor.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitor.cpp
index 0b874b78c209b08171b9df29c7a158734e0459c7..8582768bcd90d4a6267ed15cc8e1bbd68faa232d 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitor.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitor.cpp
@@ -257,16 +257,6 @@ void ScriptWrappableVisitor::dispatchTraceWrappers(
wrapperBase->traceWrappers(this);
}
-#define DEFINE_DISPATCH_TRACE_WRAPPERS(className) \
- void ScriptWrappableVisitor::dispatchTraceWrappers( \
- const className* traceable) const { \
- traceable->traceWrappers(this); \
- }
-
-WRAPPER_VISITOR_SPECIAL_CLASSES(DEFINE_DISPATCH_TRACE_WRAPPERS);
-
-#undef DEFINE_DISPATCH_TRACE_WRAPPERS
-
void ScriptWrappableVisitor::invalidateDeadObjectsInMarkingDeque() {
for (auto it = m_markingDeque.begin(); it != m_markingDeque.end(); ++it) {
auto& markingData = *it;

Powered by Google App Engine
This is Rietveld 408576698