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

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

Issue 2272313004: [layoutng] Rename struct members to match style guide (Closed)
Patch Set: Created 4 years, 4 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
Index: third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.cc b/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.cc
index ed605303435a4e8c7541a9abbcf2e84323c5497a..c2cd78d076505807f45c6463f56aa132689ab38f 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.cc
@@ -23,22 +23,22 @@ NGFragmentBuilder& NGFragmentBuilder::SetDirection(NGDirection direction) {
}
NGFragmentBuilder& NGFragmentBuilder::SetInlineSize(LayoutUnit size) {
- size_.inlineSize = size;
+ size_.inline_size = size;
return *this;
}
NGFragmentBuilder& NGFragmentBuilder::SetBlockSize(LayoutUnit size) {
- size_.blockSize = size;
+ size_.block_size = size;
return *this;
}
NGFragmentBuilder& NGFragmentBuilder::SetInlineOverflow(LayoutUnit size) {
- overflow_.inlineSize = size;
+ overflow_.inline_size = size;
return *this;
}
NGFragmentBuilder& NGFragmentBuilder::SetBlockOverflow(LayoutUnit size) {
- overflow_.blockSize = size;
+ overflow_.block_size = size;
return *this;
}

Powered by Google App Engine
This is Rietveld 408576698