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

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

Issue 277753003: Oilpan: Prepare to move FormController and DocumentState to Oilpan heap, and remove RefPtrs to HTML… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/Document.cpp
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
index d0c492a5219386e4bd87f6691f85028aa2ccd564..d99f5d004a716aa50c8b724f4f12912ea056d40a 100644
--- a/Source/core/dom/Document.cpp
+++ b/Source/core/dom/Document.cpp
@@ -639,12 +639,10 @@ void Document::dispose()
destroyTreeScopeData();
removeDetachedChildren();
-#endif
// removeDetachedChildren() can access FormController.
m_formController.clear();
-#if !ENABLE(OILPAN)
m_markers->clear();
m_cssCanvasElements.clear();
@@ -5706,6 +5704,7 @@ void Document::trace(Visitor* visitor)
visitor->trace(m_topLayerElements);
visitor->trace(m_elemSheet);
visitor->trace(m_styleEngine);
+ visitor->trace(m_formController);
visitor->trace(m_fetcher);
visitor->trace(m_contextFeatures);
visitor->trace(m_styleSheetList);

Powered by Google App Engine
This is Rietveld 408576698