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

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

Issue 2536323003: [LayoutNG] Fix enum values to conform to kEnumName in style guide. (Closed)
Patch Set: rebase. Created 4 years 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_constraint_space_builder.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_constraint_space_builder.cc b/third_party/WebKit/Source/core/layout/ng/ng_constraint_space_builder.cc
index e3f0f37b7e5266688df3a38823c006c19f4e1bb7..f4981db4f26302969948f4a235bd87e0deab7944 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_constraint_space_builder.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_constraint_space_builder.cc
@@ -12,7 +12,7 @@ NGConstraintSpaceBuilder::NGConstraintSpaceBuilder(NGWritingMode writing_mode)
is_fixed_size_block_(false),
is_inline_direction_triggers_scrollbar_(false),
is_block_direction_triggers_scrollbar_(false),
- fragmentation_type_(NGFragmentationType::FragmentNone),
+ fragmentation_type_(NGFragmentationType::kFragmentNone),
is_new_fc_(false) {}
NGConstraintSpaceBuilder& NGConstraintSpaceBuilder::SetAvailableSize(
@@ -74,18 +74,18 @@ NGPhysicalConstraintSpace* NGConstraintSpaceBuilder::ToConstraintSpace() {
percentage_resolution_size_.ConvertToPhysical(
static_cast<NGWritingMode>(writing_mode_));
- if (writing_mode_ == HorizontalTopBottom) {
+ if (writing_mode_ == kHorizontalTopBottom) {
return new NGPhysicalConstraintSpace(
available_size, percentage_resolution_size, is_fixed_size_inline_,
is_fixed_size_block_, is_inline_direction_triggers_scrollbar_,
- is_block_direction_triggers_scrollbar_, FragmentNone,
+ is_block_direction_triggers_scrollbar_, kFragmentNone,
static_cast<NGFragmentationType>(fragmentation_type_), is_new_fc_);
} else {
return new NGPhysicalConstraintSpace(
available_size, percentage_resolution_size, is_fixed_size_block_,
is_fixed_size_inline_, is_block_direction_triggers_scrollbar_,
is_inline_direction_triggers_scrollbar_,
- static_cast<NGFragmentationType>(fragmentation_type_), FragmentNone,
+ static_cast<NGFragmentationType>(fragmentation_type_), kFragmentNone,
is_new_fc_);
}
}

Powered by Google App Engine
This is Rietveld 408576698