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

Unified Diff: third_party/WebKit/Source/core/dom/Node.cpp

Issue 1917883002: Remove TraceWrappers idl attribute (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/dom/Node.cpp
diff --git a/third_party/WebKit/Source/core/dom/Node.cpp b/third_party/WebKit/Source/core/dom/Node.cpp
index 7ff26433da8eeb4b6d0e1727615d10484e84f811..b35ecb9743d8645e1c8e6a80113f9229f5d4b5cd 100644
--- a/third_party/WebKit/Source/core/dom/Node.cpp
+++ b/third_party/WebKit/Source/core/dom/Node.cpp
@@ -2264,6 +2264,14 @@ DEFINE_TRACE(Node)
EventTarget::trace(visitor);
}
+DEFINE_TRACE_WRAPPERS(Node)
haraken 2016/04/25 15:19:53 Shall we remove the tracing method for now? EventT
Marcel Hlopko 2016/04/25 15:22:34 Done.
+{
+ visitor->traceWrappers(parentOrShadowHostOrTemplateHostNode());
+ visitor->traceWrappers(m_previous);
+ visitor->traceWrappers(m_next);
+ EventTarget::traceWrappers(visitor);
+}
+
unsigned Node::lengthOfContents() const
{
// This switch statement must be consistent with that of Range::processContentsBetweenOffsets.

Powered by Google App Engine
This is Rietveld 408576698