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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_layout_coordinator.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_layout_coordinator.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_layout_coordinator.cc b/third_party/WebKit/Source/core/layout/ng/ng_layout_coordinator.cc
index dc86d79c6bd6f924454eac8a5b5fd52ada3f49bd..e1331c46b617bf4fa2db86507e4fcd1a11c91c28 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_layout_coordinator.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_layout_coordinator.cc
@@ -25,12 +25,12 @@ bool NGLayoutCoordinator::Tick(NGPhysicalFragmentBase** fragment) {
// TODO(layout-dev): store box from last tick and pass it into Layout here.
switch (
layout_algorithms_.back()->Layout(nullptr, fragment, &child_algorithm)) {
- case NotFinished:
+ case kNotFinished:
return false;
- case NewFragment:
+ case kNewFragment:
layout_algorithms_.pop_back();
return (layout_algorithms_.size() == 0);
- case ChildAlgorithmRequired:
+ case kChildAlgorithmRequired:
layout_algorithms_.append(child_algorithm);
return false;
}

Powered by Google App Engine
This is Rietveld 408576698