| 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 842318f5db836237b6569f3b770afbefdf36a431..04556f888ff1828afbf41da571b162f38468c26b 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutMenuList.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutMenuList.cpp
|
| @@ -98,8 +98,10 @@ void LayoutMenuList::adjustInnerStyle()
|
| innerStyle.setAlignSelfPosition(ItemPositionFlexStart);
|
| }
|
|
|
| - innerStyle.setPaddingLeft(Length(LayoutTheme::theme().popupInternalPaddingLeft(styleRef()), Fixed));
|
| - innerStyle.setPaddingRight(Length(LayoutTheme::theme().popupInternalPaddingRight(styleRef()), Fixed));
|
| + Length paddingStart = 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.setPaddingTop(Length(LayoutTheme::theme().popupInternalPaddingTop(styleRef()), Fixed));
|
| innerStyle.setPaddingBottom(Length(LayoutTheme::theme().popupInternalPaddingBottom(styleRef()), Fixed));
|
|
|
|
|