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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutSliderContainer.cpp

Issue 2949453002: Make EFlexDirection an enum class. (Closed)
Patch Set: Fix 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/LayoutSliderContainer.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutSliderContainer.cpp b/third_party/WebKit/Source/core/layout/LayoutSliderContainer.cpp
index fc4b6f2d5fa439221f3932b9ebf90741fd4b8250..8bda11e5a97b1e6f6d1226ae754563032de9a218 100644
--- a/third_party/WebKit/Source/core/layout/LayoutSliderContainer.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutSliderContainer.cpp
@@ -99,7 +99,8 @@ void LayoutSliderContainer::ComputeLogicalHeight(
void LayoutSliderContainer::UpdateLayout() {
HTMLInputElement* input = toHTMLInputElement(GetNode()->OwnerShadowHost());
bool is_vertical = HasVerticalAppearance(input);
- MutableStyleRef().SetFlexDirection(is_vertical ? kFlowColumn : kFlowRow);
+ MutableStyleRef().SetFlexDirection(is_vertical ? EFlexDirection::kColumn
+ : EFlexDirection::kRow);
TextDirection old_text_direction = Style()->Direction();
if (is_vertical) {
// FIXME: Work around rounding issues in RTL vertical sliders. We want them
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutFullScreen.cpp ('k') | third_party/WebKit/Source/core/style/ComputedStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698