Index: third_party/WebKit/Source/core/layout/LayoutText.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutText.h b/third_party/WebKit/Source/core/layout/LayoutText.h |
index 42e7fa333d08a1cfde7fba0fb0c0bf8b66559297..176fe0bad225005549d0580593f1858b113c3ddc 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutText.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutText.h |
@@ -180,6 +180,9 @@ public: |
float hyphenWidth(const Font&, TextDirection); |
+ bool hasLineBreakForTextWrap() { return m_hasLineBreakForTextWrap; } |
+ void setLineBreakForTextWrap(bool hasLineBreakForTextWrap) { m_hasLineBreakForTextWrap = hasLineBreakForTextWrap; } |
+ |
protected: |
void willBeDestroyed() override; |
@@ -238,6 +241,7 @@ private: |
bool m_containsReversedText : 1; |
bool m_canUseSimpleFontCodePath : 1; |
mutable bool m_knownToHaveNoOverflowAndNoFallbackFonts : 1; |
+ bool m_hasLineBreakForTextWrap : 1; |
float m_minWidth; |
float m_maxWidth; |