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

Unified Diff: Source/core/dom/NodeRareData.h

Issue 947393002: InlinedVisitor: Migrate dom to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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: Source/core/dom/NodeRareData.h
diff --git a/Source/core/dom/NodeRareData.h b/Source/core/dom/NodeRareData.h
index ede7db934c0ce7f4802ca75d7e41be4392cc1faf..221872af556fde12c69038c327fb4d430dcb9f3b 100644
--- a/Source/core/dom/NodeRareData.h
+++ b/Source/core/dom/NodeRareData.h
@@ -43,7 +43,7 @@ public:
return adoptPtrWillBeNoop(new NodeMutationObserverData);
}
- void trace(Visitor* visitor)
+ DEFINE_INLINE_TRACE()
{
#if ENABLE(OILPAN)
visitor->trace(registry);
@@ -106,9 +106,9 @@ public:
ConnectedFrameCountBits = 10, // Must fit Page::maxNumberOfFrames.
};
- void trace(Visitor*);
+ DECLARE_TRACE();
- void traceAfterDispatch(Visitor*);
+ DECLARE_TRACE_AFTER_DISPATCH();
haraken 2015/02/24 09:18:36 Add a comment on why we need traceAfterDispatch.
void finalizeGarbageCollectedObject();
protected:

Powered by Google App Engine
This is Rietveld 408576698