Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1409)

Unified Diff: third_party/WebKit/Source/core/layout/ng/inline/ng_text_fragment_builder.cc

Issue 2803433002: [LayoutNG] Initial support for the 'vertical-align' property (Closed)
Patch Set: Move all On*() to NGInlineLayoutStateStack Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/inline/ng_text_fragment_builder.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/inline/ng_text_fragment_builder.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698