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

Unified Diff: Source/core/dom/Element.cpp

Issue 262093006: Oilpan: Make the Node hierarchy RefCountedGarbageCollected instead of TreeShared. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Another build fix. Created 6 years, 7 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/Element.cpp
diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp
index cb9a9b0d3aca2ab7f11fc3432fada9ef947a9e92..2dfd3d91defb86c417803b23c919b68135a85f40 100644
--- a/Source/core/dom/Element.cpp
+++ b/Source/core/dom/Element.cpp
@@ -3295,4 +3295,13 @@ bool Element::supportsStyleSharing() const
return true;
}
+void Element::trace(Visitor* visitor)
+{
+ // FIXME: Oilpan: Perform this tracing directly on the element
+ // rare data once that is in the heap.
+ if (hasRareData())
+ elementRareData()->trace(visitor);
+ ContainerNode::trace(visitor);
+}
+
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698