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

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

Issue 423093002: Oilpan: Prepare to move RenderObject and RenderObjectChildList to Oilpan heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: dispose -> destroy Created 6 years, 4 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
« no previous file with comments | « Source/core/dom/Node.cpp ('k') | Source/core/editing/TextIterator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/NodeRareData.cpp
diff --git a/Source/core/dom/NodeRareData.cpp b/Source/core/dom/NodeRareData.cpp
index 19991b143ce07741a80ef836ce54027d12ae03fd..c40e9bb58eb34073adff05a0e94b079778f3a4ea 100644
--- a/Source/core/dom/NodeRareData.cpp
+++ b/Source/core/dom/NodeRareData.cpp
@@ -33,6 +33,7 @@
#include "core/dom/Element.h"
#include "core/dom/ElementRareData.h"
#include "core/page/Page.h"
+#include "core/rendering/RenderObject.h"
#include "platform/heap/Handle.h"
namespace blink {
@@ -47,6 +48,9 @@ COMPILE_ASSERT(sizeof(NodeRareData) == sizeof(SameSizeAsNodeRareData), NodeRareD
void NodeRareData::traceAfterDispatch(Visitor* visitor)
{
+#if ENABLE(OILPAN)
+ visitor->trace(m_renderer);
+#endif
visitor->trace(m_mutationObserverData);
// Do not keep empty NodeListsNodeData objects around.
if (m_nodeLists && m_nodeLists->isEmpty())
« no previous file with comments | « Source/core/dom/Node.cpp ('k') | Source/core/editing/TextIterator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698