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

Unified Diff: Source/core/rendering/RenderObjectChildList.h

Issue 869323003: Oilpan: move RenderObjects off heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: review-induced improvements 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
« no previous file with comments | « Source/core/rendering/RenderObject.cpp ('k') | Source/core/rendering/RenderObjectChildList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderObjectChildList.h
diff --git a/Source/core/rendering/RenderObjectChildList.h b/Source/core/rendering/RenderObjectChildList.h
index faa360a8de4383acc63d40dec9f98a82ae089eae..0d4a85f5610a187858d8809071c08243f22c6912 100644
--- a/Source/core/rendering/RenderObjectChildList.h
+++ b/Source/core/rendering/RenderObjectChildList.h
@@ -41,10 +41,9 @@ public:
, m_lastChild(nullptr)
{
}
- void trace(Visitor*);
- RenderObject* firstChild() const { return m_firstChild.get(); }
- RenderObject* lastChild() const { return m_lastChild.get(); }
+ RenderObject* firstChild() const { return m_firstChild; }
+ RenderObject* lastChild() const { return m_lastChild; }
// FIXME: Temporary while RenderBox still exists. Eventually this will just happen during insert/append/remove methods on the child list, and nobody
// will need to manipulate firstChild or lastChild directly.
@@ -63,8 +62,8 @@ public:
private:
void invalidatePaintOnRemoval(const RenderObject& oldChild);
- RawPtrWillBeMember<RenderObject> m_firstChild;
- RawPtrWillBeMember<RenderObject> m_lastChild;
+ RenderObject* m_firstChild;
+ RenderObject* m_lastChild;
};
} // namespace blink
« no previous file with comments | « Source/core/rendering/RenderObject.cpp ('k') | Source/core/rendering/RenderObjectChildList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698