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..c3ef0f9f65714dd2d2f20bbffebbbc49a93d1008 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 needToRestoreCollapsedSpace() { return m_needToRestoreCollapsedSpace; } |
+ void setNeedToRestoreCollapsedSpace(bool needToRestoreCollapsedSpace) { m_needToRestoreCollapsedSpace = needToRestoreCollapsedSpace; } |
+ |
protected: |
void willBeDestroyed() override; |
@@ -238,6 +241,7 @@ private: |
bool m_containsReversedText : 1; |
bool m_canUseSimpleFontCodePath : 1; |
mutable bool m_knownToHaveNoOverflowAndNoFallbackFonts : 1; |
+ bool m_needToRestoreCollapsedSpace : 1; |
float m_minWidth; |
float m_maxWidth; |