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

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

Issue 1876383003: Introduce infrastructure for tracing ScriptWrappables. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Incorporate Haraken's wonderful comments 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/NodeRareData.cpp
diff --git a/third_party/WebKit/Source/core/dom/NodeRareData.cpp b/third_party/WebKit/Source/core/dom/NodeRareData.cpp
index 04a158e212d49c2fbd61588b1f570da86e2cac47..8623d5facca906f6685cb9f32cd40ded9fe438bf 100644
--- a/third_party/WebKit/Source/core/dom/NodeRareData.cpp
+++ b/third_party/WebKit/Source/core/dom/NodeRareData.cpp
@@ -30,6 +30,7 @@
#include "core/dom/NodeRareData.h"
+#include "bindings/core/v8/ScriptWrappableVisitor.h"
#include "core/dom/Element.h"
#include "core/dom/ElementRareData.h"
#include "core/frame/FrameHost.h"
@@ -64,6 +65,10 @@ DEFINE_TRACE(NodeRareData)
traceAfterDispatch(visitor);
}
+DEFINE_TRACE_WRAPPERS(NodeRareData)
+{
+}
+
void NodeRareData::finalizeGarbageCollectedObject()
{
RELEASE_ASSERT(!layoutObject());

Powered by Google App Engine
This is Rietveld 408576698