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

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

Issue 786283002: Use the normal LayoutState constructor in RenderTableSection. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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/LayoutState.h ('k') | Source/core/rendering/RenderTableSection.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/LayoutState.cpp
diff --git a/Source/core/rendering/LayoutState.cpp b/Source/core/rendering/LayoutState.cpp
index ab4ad8fdcf72662effd13d21a55bea9cb5952653..1f3235ec9aa5eb86d87ed25daee9d1c5066b8213 100644
--- a/Source/core/rendering/LayoutState.cpp
+++ b/Source/core/rendering/LayoutState.cpp
@@ -112,8 +112,7 @@ LayoutState::LayoutState(RenderObject& root)
, m_pageLogicalHeight(0)
, m_renderer(root)
{
- // FIXME: Why does RenderTableSection create this wonky LayoutState?
- ASSERT(!m_next || root.isTableSection());
+ ASSERT(!m_next);
// We'll end up pushing in RenderView itself, so don't bother adding it.
if (root.isRenderView())
return;
« no previous file with comments | « Source/core/rendering/LayoutState.h ('k') | Source/core/rendering/RenderTableSection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698