| 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 c97fa7480b8270f939e251e10cacb3e66a2b1545..d88aff42cb24709938e16ca6070bd22b8f38ae40 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutMenuList.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutMenuList.cpp
|
| @@ -100,10 +100,10 @@ void LayoutMenuList::adjustInnerStyle() {
|
| Length(LayoutTheme::theme().popupInternalPaddingStart(styleRef()), Fixed);
|
| Length paddingEnd =
|
| Length(LayoutTheme::theme().popupInternalPaddingEnd(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(
|
|
|