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

Unified Diff: Source/core/rendering/RenderObject.cpp

Issue 132703002: The default render object layout implementation is dead code (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderObject.cpp
diff --git a/Source/core/rendering/RenderObject.cpp b/Source/core/rendering/RenderObject.cpp
index 024b390fcbfcf893468b80d1425d2a119863bcbf..34d0988c226c2ea9a1b10e1f878f7b43e91791c6 100644
--- a/Source/core/rendering/RenderObject.cpp
+++ b/Source/core/rendering/RenderObject.cpp
@@ -2842,19 +2842,6 @@ void RenderObject::scheduleRelayout()
}
}
-void RenderObject::layout()
-{
- ASSERT(needsLayout());
- LayoutRectRecorder recorder(*this);
- RenderObject* child = firstChild();
- while (child) {
- child->layoutIfNeeded();
- ASSERT(!child->needsLayout());
- child = child->nextSibling();
- }
- clearNeedsLayout();
-}
-
void RenderObject::didLayout(ResourceLoadPriorityOptimizer& priorityModifier)
{
for (RenderObject* child = firstChild(); child; child = child->nextSibling())
« no previous file with comments | « Source/core/rendering/RenderObject.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698