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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_block_node.cc

Issue 2836293004: [LayoutNG] Move NGInlineNode data to NGInlineNodeData. (Closed)
Patch Set: rebase. Created 3 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 | « third_party/WebKit/Source/core/layout/ng/layout_ng_block_flow.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/ng/ng_block_node.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_block_node.cc b/third_party/WebKit/Source/core/layout/ng/ng_block_node.cc
index 96402b5f64b35d33df7bb8377a1409ecae153d5f..64f785b12f7dbd4f6205fdd8f32bba15cc331ad6 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_block_node.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_block_node.cc
@@ -209,7 +209,7 @@ NGLayoutInputNode* NGBlockNode::NextSibling() {
// NGLayoutInputNode for one LayoutBlockFlow.
NOTREACHED();
next_sibling_ = new NGInlineNode(
- next_sibling, ToLayoutBlockFlow(layout_box_->Parent()));
+ next_sibling, ToLayoutNGBlockFlow(layout_box_->Parent()));
} else {
next_sibling_ = new NGBlockNode(next_sibling);
}
@@ -248,7 +248,8 @@ NGLayoutInputNode* NGBlockNode::FirstChild() {
LayoutObject* child = layout_box_->SlowFirstChild();
if (child) {
if (ShouldHandleByInlineContext(child)) {
- first_child_ = new NGInlineNode(child, ToLayoutBlockFlow(layout_box_));
+ first_child_ =
+ new NGInlineNode(child, ToLayoutNGBlockFlow(layout_box_));
} else {
first_child_ = new NGBlockNode(child);
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/layout_ng_block_flow.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698