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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_inline_node.h

Issue 2702403003: [layoutng] Split NGLayoutResult out of NGPhysicalFragment (Closed)
Patch Set: rebased Created 3 years, 10 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
Index: third_party/WebKit/Source/core/layout/ng/ng_inline_node.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_inline_node.h b/third_party/WebKit/Source/core/layout/ng/ng_inline_node.h
index 023f36cca9c2834315581c06c6476ef5b58b0cda..392ddc205e745ad79abd7bea837639ee94165e40 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_inline_node.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_inline_node.h
@@ -26,8 +26,8 @@ class NGConstraintSpace;
class NGLayoutInlineItem;
class NGLayoutInlineItemRange;
class NGLayoutInlineItemsBuilder;
+class NGLayoutResult;
class NGLineBuilder;
-class NGPhysicalFragment;
// Represents an inline node to be laid out.
class CORE_EXPORT NGInlineNode : public NGLayoutInputNode {
@@ -37,7 +37,7 @@ class CORE_EXPORT NGInlineNode : public NGLayoutInputNode {
const ComputedStyle* BlockStyle() const { return block_style_.get(); }
- RefPtr<NGPhysicalFragment> Layout(NGConstraintSpace*) override;
+ RefPtr<NGLayoutResult> Layout(NGConstraintSpace*) override;
void LayoutInline(NGConstraintSpace*, NGLineBuilder*);
NGInlineNode* NextSibling() override;
LayoutObject* GetLayoutObject() override;

Powered by Google App Engine
This is Rietveld 408576698