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

Unified Diff: sky/engine/core/rendering/RenderObjectChildList.h

Issue 709203002: Remove more oilpan. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « sky/engine/core/rendering/RenderObject.h ('k') | sky/engine/core/rendering/RenderObjectChildList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/rendering/RenderObjectChildList.h
diff --git a/sky/engine/core/rendering/RenderObjectChildList.h b/sky/engine/core/rendering/RenderObjectChildList.h
index 3fd1b9cd5716bb904d0eada15aeff23b1e8c2eba..33e9a9823e73227021d67d375b8c65df47616dd1 100644
--- a/sky/engine/core/rendering/RenderObjectChildList.h
+++ b/sky/engine/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.
@@ -61,8 +60,8 @@ public:
}
private:
- RawPtr<RenderObject> m_firstChild;
- RawPtr<RenderObject> m_lastChild;
+ RenderObject* m_firstChild;
+ RenderObject* m_lastChild;
};
} // namespace blink
« no previous file with comments | « sky/engine/core/rendering/RenderObject.h ('k') | sky/engine/core/rendering/RenderObjectChildList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698