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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_constraint_space.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.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc b/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc
index 073ad22adc75b1ee44014b310d8239a47033674d..79a201bed4f3ca1a83c4fd63860290b3fd5c85a0 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc
@@ -103,30 +103,30 @@ bool NGConstraintSpace::IsNewFormattingContext() const {
}
bool NGConstraintSpace::InlineTriggersScrollbar() const {
- return writing_mode_ == HorizontalTopBottom
+ return writing_mode_ == kHorizontalTopBottom
? physical_space_->width_direction_triggers_scrollbar_
: physical_space_->height_direction_triggers_scrollbar_;
}
bool NGConstraintSpace::BlockTriggersScrollbar() const {
- return writing_mode_ == HorizontalTopBottom
+ return writing_mode_ == kHorizontalTopBottom
? physical_space_->height_direction_triggers_scrollbar_
: physical_space_->width_direction_triggers_scrollbar_;
}
bool NGConstraintSpace::FixedInlineSize() const {
- return writing_mode_ == HorizontalTopBottom ? physical_space_->fixed_width_
- : physical_space_->fixed_height_;
+ return writing_mode_ == kHorizontalTopBottom ? physical_space_->fixed_width_
+ : physical_space_->fixed_height_;
}
bool NGConstraintSpace::FixedBlockSize() const {
- return writing_mode_ == HorizontalTopBottom ? physical_space_->fixed_height_
- : physical_space_->fixed_width_;
+ return writing_mode_ == kHorizontalTopBottom ? physical_space_->fixed_height_
+ : physical_space_->fixed_width_;
}
NGFragmentationType NGConstraintSpace::BlockFragmentationType() const {
return static_cast<NGFragmentationType>(
- writing_mode_ == HorizontalTopBottom
+ writing_mode_ == kHorizontalTopBottom
? physical_space_->height_direction_fragmentation_type_
: physical_space_->width_direction_fragmentation_type_);
}

Powered by Google App Engine
This is Rietveld 408576698