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

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

Issue 2648253005: Cleanup: remove state variables from inline_algorithm (Closed)
Patch Set: CR fixes Created 3 years, 11 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 | « no previous file | third_party/WebKit/Source/core/layout/ng/ng_inline_layout_algorithm.cc » ('j') | 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_inline_layout_algorithm.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_inline_layout_algorithm.h b/third_party/WebKit/Source/core/layout/ng/ng_inline_layout_algorithm.h
index 8ec623c86e0645143da9639430d1f8083e914837..760531ea58564b3a012cba8c73a1e7309744b29d 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_inline_layout_algorithm.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_inline_layout_algorithm.h
@@ -16,7 +16,6 @@ class NGBreakToken;
class NGConstraintSpace;
class NGFragmentBuilder;
class NGInlineNode;
-class NGLineBuilder;
// A class for inline layout (e.g. a anonymous block with inline-level children
// only).
@@ -45,17 +44,13 @@ class CORE_EXPORT NGInlineLayoutAlgorithm : public NGLayoutAlgorithm {
// Read-only Getters.
const ComputedStyle& Style() const { return *style_; }
- bool LayoutCurrentChild();
- NGConstraintSpace* CreateConstraintSpaceForCurrentChild() const;
+ NGConstraintSpace* CreateConstraintSpaceForChild(const NGInlineNode&) const;
RefPtr<const ComputedStyle> style_;
Member<NGInlineNode> first_child_;
Member<NGConstraintSpace> constraint_space_;
Member<NGBreakToken> break_token_;
Member<NGFragmentBuilder> builder_;
- Member<NGConstraintSpace> space_for_current_child_;
- Member<NGInlineNode> current_child_;
- Member<NGLineBuilder> line_builder_;
};
} // namespace blink
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/ng/ng_inline_layout_algorithm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698