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

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

Issue 207223003: Make LayoutState members private (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixing debug build issues Created 6 years, 9 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/RenderView.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/RenderView.cpp
diff --git a/Source/core/rendering/RenderView.cpp b/Source/core/rendering/RenderView.cpp
index 9f98e8d92ecf23e9d19647615bcfc23b1739a586..fcabc6007eafcdd85548fe893f1aaa31ebbe65b1 100644
--- a/Source/core/rendering/RenderView.cpp
+++ b/Source/core/rendering/RenderView.cpp
@@ -183,18 +183,10 @@ void RenderView::checkLayoutState()
ASSERT(layoutDeltaMatches(LayoutSize()));
}
ASSERT(!m_layoutStateDisableCount);
- ASSERT(!m_layoutState->m_next);
+ ASSERT(!m_layoutState->next());
}
#endif
-void RootLayoutStateScope::initializeLayoutState()
-{
- m_rootLayoutState.m_clipped = false;
- m_rootLayoutState.m_pageLogicalHeight = m_view.m_pageLogicalHeight;
- m_rootLayoutState.m_pageLogicalHeightChanged = m_view.m_pageLogicalHeightChanged;
- m_rootLayoutState.m_isPaginated = m_rootLayoutState.m_pageLogicalHeight;
-}
-
void RenderView::layout()
{
if (!document().paginated())
« no previous file with comments | « Source/core/rendering/RenderView.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698