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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutObjectChildList.h

Issue 1471933002: Remove unneeded LayoutObjectChildList::setFirst/LastChild (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « no previous file | third_party/WebKit/Source/core/layout/LayoutObjectChildList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/LayoutObjectChildList.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutObjectChildList.h b/third_party/WebKit/Source/core/layout/LayoutObjectChildList.h
index a8fd0f5fb1bacd61ddf95c6b5e66bf716618f90c..349a2ec7ee3d045f9a070814e712d5a460e04320 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObjectChildList.h
+++ b/third_party/WebKit/Source/core/layout/LayoutObjectChildList.h
@@ -45,11 +45,6 @@ public:
LayoutObject* firstChild() const { return m_firstChild; }
LayoutObject* lastChild() const { return m_lastChild; }
- // FIXME: Temporary while LayoutBox 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.
- void setFirstChild(LayoutObject* child) { m_firstChild = child; }
- void setLastChild(LayoutObject* child) { m_lastChild = child; }
-
void destroyLeftoverChildren();
LayoutObject* removeChildNode(LayoutObject* owner, LayoutObject*, bool notifyLayoutObject = true);
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutObjectChildList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698