Index: third_party/WebKit/Source/core/layout/ng/inline/ng_text_fragment_builder.cc |
diff --git a/third_party/WebKit/Source/core/layout/ng/inline/ng_text_fragment_builder.cc b/third_party/WebKit/Source/core/layout/ng/inline/ng_text_fragment_builder.cc |
index 1abebb4bccab2ecf3f2c118fb1852c2d74644bb6..0e8f6b40510260be819c4884c216fd93de9b277a 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/inline/ng_text_fragment_builder.cc |
+++ b/third_party/WebKit/Source/core/layout/ng/inline/ng_text_fragment_builder.cc |
@@ -20,13 +20,9 @@ NGTextFragmentBuilder& NGTextFragmentBuilder::SetDirection( |
return *this; |
} |
-NGTextFragmentBuilder& NGTextFragmentBuilder::SetInlineSize(LayoutUnit size) { |
- size_.inline_size = size; |
- return *this; |
-} |
- |
-NGTextFragmentBuilder& NGTextFragmentBuilder::SetBlockSize(LayoutUnit size) { |
- size_.block_size = size; |
+NGTextFragmentBuilder& NGTextFragmentBuilder::SetSize( |
+ const NGLogicalSize& size) { |
+ size_ = size; |
return *this; |
} |