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

Unified Diff: sky/engine/core/editing/htmlediting.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/editing/VisibleUnits.cpp ('k') | sky/engine/core/rendering/InlineBox.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/editing/htmlediting.cpp
diff --git a/sky/engine/core/editing/htmlediting.cpp b/sky/engine/core/editing/htmlediting.cpp
index 9ab7639ddea059a69f12502620291dcaebb26f1a..9e80e241388ae1f8905270de6e89aedf3ed27e29 100644
--- a/sky/engine/core/editing/htmlediting.cpp
+++ b/sky/engine/core/editing/htmlediting.cpp
@@ -893,7 +893,7 @@ bool areIdenticalElements(const Node* first, const Node* second)
bool isBlockFlowElement(const Node& node)
{
RenderObject* renderer = node.renderer();
- return node.isElementNode() && renderer && renderer->isRenderBlockFlow();
+ return node.isElementNode() && renderer && renderer->isRenderParagraph();
}
Position adjustedSelectionStartForStyleComputation(const VisibleSelection& selection)
« no previous file with comments | « sky/engine/core/editing/VisibleUnits.cpp ('k') | sky/engine/core/rendering/InlineBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698