Index: third_party/WebKit/Source/core/layout/ng/ng_text.h |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_text.h b/third_party/WebKit/Source/core/layout/ng/ng_text.h |
index 111722d62eca54c92ee49690e27ae1a0631a1655..117bae95f24cbe25ebd8be50802f87fe81d093f3 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_text.h |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_text.h |
@@ -17,10 +17,16 @@ class CORE_EXPORT NGText final : public NGFragmentBase { |
NGText(LayoutUnit inlineSize, |
LayoutUnit blockSize, |
LayoutUnit inlineOverflow, |
- LayoutUnit blockOverflow) |
- : NGFragmentBase(inlineSize, blockSize, inlineOverflow, blockOverflow) { |
- m_isText = true; |
- } |
+ LayoutUnit blockOverflow, |
+ NGWritingMode writingMode, |
+ NGDirection direction) |
+ : NGFragmentBase(inlineSize, |
+ blockSize, |
+ inlineOverflow, |
+ blockOverflow, |
+ writingMode, |
+ direction, |
+ FragmentText) {} |
const String text() const { return String(); } |