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

Unified Diff: sky/engine/core/rendering/RenderView.cpp

Issue 1068683002: Delete RenderBlockFlow. (Closed) Base URL: https://github.com/domokit/mojo.git@block
Patch Set: Remove unused float-related code instead of moving it. Created 5 years, 8 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 | « sky/engine/core/rendering/RenderView.h ('k') | sky/engine/core/rendering/RootInlineBox.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/rendering/RenderView.cpp
diff --git a/sky/engine/core/rendering/RenderView.cpp b/sky/engine/core/rendering/RenderView.cpp
index a171ec4513c49267b8325955f47c57baf0ad8111..f7e5bd5c001f34399f54e0c28302c7dae9c8a7e3 100644
--- a/sky/engine/core/rendering/RenderView.cpp
+++ b/sky/engine/core/rendering/RenderView.cpp
@@ -37,7 +37,7 @@
namespace blink {
RenderView::RenderView(Document* document)
- : RenderBlockFlow(document)
+ : RenderFlexibleBox(document)
, m_frameView(document->view())
, m_selectionStart(nullptr)
, m_selectionEnd(nullptr)
@@ -116,11 +116,6 @@ void RenderView::updateLogicalWidth()
setLogicalWidth(viewLogicalWidth());
}
-LayoutUnit RenderView::availableLogicalHeight(AvailableLogicalHeightType heightType) const
-{
- return RenderBlockFlow::availableLogicalHeight(heightType);
-}
-
bool RenderView::isChildAllowed(RenderObject* child, RenderStyle*) const
{
return child->isBox();
@@ -145,7 +140,7 @@ void RenderView::layout()
if (!needsLayout())
return;
- RenderBlockFlow::layout();
+ RenderFlexibleBox::layout();
clearNeedsLayout();
}
« no previous file with comments | « sky/engine/core/rendering/RenderView.h ('k') | sky/engine/core/rendering/RootInlineBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698