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

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

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/ElementRareData.h
diff --git a/Source/core/dom/ElementRareData.h b/Source/core/dom/ElementRareData.h
index ce94cc2a281382ed8d71ecd8f9aa741edc24c1c5..c3419e84a66503b765a8c6f16a53584c67558cd5 100644
--- a/Source/core/dom/ElementRareData.h
+++ b/Source/core/dom/ElementRareData.h
@@ -119,6 +119,16 @@ public:
void setCustomElementDefinition(PassRefPtr<CustomElementDefinition> definition) { m_customElementDefinition = definition; }
CustomElementDefinition* customElementDefinition() const { return m_customElementDefinition.get(); }
+ void trace(Visitor* visitor)
+ {
+ // FIXME: Oilpan: Implement real tracing of the
+ // ElementRareData when it has been moved to the
+ // oilpan heap and move the ElementShadow tracing
+ // to the ElementShadow when that has been moved
+ // to the oilpan heap.
+ visitor->trace(m_shadow);
+ }
+
private:
short m_tabindex;

Powered by Google App Engine
This is Rietveld 408576698