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

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

Issue 2750213002: [LayoutNG] Don't pass parent NGFragmentBuilder into NGLineBuilder. (Closed)
Patch Set: rebase fix. Created 3 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
Index: third_party/WebKit/Source/core/layout/ng/ng_line_builder.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_line_builder.h b/third_party/WebKit/Source/core/layout/ng/ng_line_builder.h
index af94ebd916163bc77f3a5fd098e8dfe608b1ca9c..823269def4d630f2b7b01c7ab96c7d8bdaeb6ed6 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_line_builder.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_line_builder.h
@@ -31,7 +31,7 @@ class CORE_EXPORT NGLineBuilder final {
STACK_ALLOCATED();
public:
- NGLineBuilder(NGInlineNode*, NGConstraintSpace*, NGFragmentBuilder*);
+ NGLineBuilder(NGInlineNode*, NGConstraintSpace*);
const NGConstraintSpace& ConstraintSpace() const {
return *constraint_space_;
@@ -159,7 +159,6 @@ class CORE_EXPORT NGLineBuilder final {
Persistent<NGInlineNode> inline_box_;
NGConstraintSpace* constraint_space_; // Not owned as STACK_ALLOCATED.
- NGFragmentBuilder* containing_block_builder_;
Vector<RefPtr<NGLayoutResult>, 32> layout_results_;
Vector<LineBoxData, 32> line_box_data_list_;
unsigned start_index_ = 0;

Powered by Google App Engine
This is Rietveld 408576698