Index: third_party/WebKit/Source/core/layout/ng/inline/ng_line_breaker.h |
diff --git a/third_party/WebKit/Source/core/layout/ng/inline/ng_line_breaker.h b/third_party/WebKit/Source/core/layout/ng/inline/ng_line_breaker.h |
index bc694d6996baa9063a3b18707a26512053e37fe7..ac43b1cac556039399b1a9f872c02d89f9c2e22e 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/inline/ng_line_breaker.h |
+++ b/third_party/WebKit/Source/core/layout/ng/inline/ng_line_breaker.h |
@@ -89,6 +89,8 @@ class CORE_EXPORT NGLineBreaker { |
void MoveToNextOf(const NGInlineItemResult&); |
void SkipCollapsibleWhitespaces(); |
+ bool IsFirstFormattedLine() const; |
+ |
NGInlineNode node_; |
NGConstraintSpace* constraint_space_; |
NGFragmentBuilder* container_builder_; |
@@ -102,8 +104,9 @@ class CORE_EXPORT NGLineBreaker { |
HarfBuzzShaper shaper_; |
ShapeResultSpacing<String> spacing_; |
- unsigned auto_wrap_ : 1; |
- unsigned should_create_line_box_ : 1; |
+ bool auto_wrap_; |
+ bool should_create_line_box_; |
+ bool is_after_forced_break_; |
}; |
} // namespace blink |