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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitorVerifier.h

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/ScriptWrappableVisitorVerifier.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitorVerifier.h b/third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitorVerifier.h
index ead84994d2c2381664da5716cae265b5237172b3..93baaced372e4ff3c967e28fe379dc3b0ef56760 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitorVerifier.h
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitorVerifier.h
@@ -6,15 +6,6 @@
#define ScriptWrappableVisitorVerifier_h
#include "bindings/core/v8/ScriptWrappableVisitor.h"
-#include "bindings/core/v8/V8AbstractEventListener.h"
-#include "core/dom/DocumentStyleSheetCollection.h"
-#include "core/dom/ElementRareData.h"
-#include "core/dom/NodeListsNodeData.h"
-#include "core/dom/NodeRareData.h"
-#include "core/dom/StyleEngine.h"
-#include "core/dom/shadow/ElementShadow.h"
-#include "core/dom/shadow/ElementShadowV0.h"
-#include "core/html/imports/HTMLImportsController.h"
namespace blink {
@@ -23,14 +14,6 @@ class ScriptWrappableVisitorVerifier : public WrapperVisitor {
void dispatchTraceWrappers(const TraceWrapperBase* t) const override {
t->traceWrappers(this);
}
-#define DECLARE_DISPATCH_TRACE_WRAPPERS(className) \
- void dispatchTraceWrappers(const className* t) const override { \
- t->traceWrappers(this); \
- }
-
- WRAPPER_VISITOR_SPECIAL_CLASSES(DECLARE_DISPATCH_TRACE_WRAPPERS);
-
-#undef DECLARE_DISPATCH_TRACE_WRAPPERS
void traceWrappers(const TraceWrapperV8Reference<v8::Value>&) const override {
}

Powered by Google App Engine
This is Rietveld 408576698