Index: third_party/WebKit/Source/core/layout/LayoutMenuList.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutMenuList.cpp b/third_party/WebKit/Source/core/layout/LayoutMenuList.cpp |
index 868764fe3eb78d48581cae53d3cf80ffaba8d5b5..8cd237344959176fd45de5f0bcc19efa5c9a2205 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutMenuList.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutMenuList.cpp |
@@ -102,10 +102,10 @@ void LayoutMenuList::adjustInnerStyle() { |
Length paddingEnd = Length(LayoutTheme::theme().popupInternalPaddingEnd( |
frameView()->getHostWindow(), styleRef()), |
Fixed); |
- innerStyle.setPaddingLeft(styleRef().direction() == LTR ? paddingStart |
- : paddingEnd); |
- innerStyle.setPaddingRight(styleRef().direction() == LTR ? paddingEnd |
- : paddingStart); |
+ innerStyle.setPaddingLeft( |
+ styleRef().direction() == TextDirection::Ltr ? paddingStart : paddingEnd); |
+ innerStyle.setPaddingRight( |
+ styleRef().direction() == TextDirection::Ltr ? paddingEnd : paddingStart); |
innerStyle.setPaddingTop( |
Length(LayoutTheme::theme().popupInternalPaddingTop(styleRef()), Fixed)); |
innerStyle.setPaddingBottom(Length( |