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

Unified Diff: third_party/WebKit/Source/core/layout/FlexibleBoxAlgorithm.h

Issue 2944793002: Make EFlexWrap an enum class. (Closed)
Patch Set: Rebase Created 3 years, 6 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/FlexibleBoxAlgorithm.h
diff --git a/third_party/WebKit/Source/core/layout/FlexibleBoxAlgorithm.h b/third_party/WebKit/Source/core/layout/FlexibleBoxAlgorithm.h
index 537d15137d47c5177daf168ee1415e6dc11ce2b8..5408f67292ad5b050f956fa6070d852c0e07c82f 100644
--- a/third_party/WebKit/Source/core/layout/FlexibleBoxAlgorithm.h
+++ b/third_party/WebKit/Source/core/layout/FlexibleBoxAlgorithm.h
@@ -93,7 +93,7 @@ class FlexLayoutAlgorithm {
LayoutUnit& sum_hypothetical_main_size);
private:
- bool IsMultiline() const { return style_->FlexWrap() != kFlexNoWrap; }
+ bool IsMultiline() const { return style_->FlexWrap() != EFlexWrap::kNowrap; }
const ComputedStyle* style_;
LayoutUnit line_break_length_;
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSProperties.json5 ('k') | third_party/WebKit/Source/core/layout/LayoutBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698