| Index: third_party/WebKit/Source/core/paint/ThemePainterDefault.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/ThemePainterDefault.cpp b/third_party/WebKit/Source/core/paint/ThemePainterDefault.cpp
|
| index 57004b2e749a8f2137b05b316447b9b8166cc872..e0aee2a6ebfd1c19f436551d0c0df8975e607321 100644
|
| --- a/third_party/WebKit/Source/core/paint/ThemePainterDefault.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/ThemePainterDefault.cpp
|
| @@ -304,7 +304,7 @@ void ThemePainterDefault::setupMenuListArrow(
|
| 2 * extraPadding;
|
| // |arrowX| is the middle position for mock theme engine.
|
| extraParams.menuList.arrowX =
|
| - (box.styleRef().direction() == TextDirection::Rtl)
|
| + (box.styleRef().direction() == TextDirection::kRtl)
|
| ? rect.x() + extraPadding + (arrowSize / 2)
|
| : right - (arrowSize / 2) - extraPadding;
|
| extraParams.menuList.arrowSize = arrowSize;
|
| @@ -314,7 +314,7 @@ void ThemePainterDefault::setupMenuListArrow(
|
| // Put the 6px arrow at the center of paddingForArrow area.
|
| // |arrowX| is the left position for Aura theme engine.
|
| extraParams.menuList.arrowX =
|
| - (box.styleRef().direction() == TextDirection::Rtl)
|
| + (box.styleRef().direction() == TextDirection::kRtl)
|
| ? left + (arrowBoxWidth - arrowSize) / 2
|
| : right - (arrowBoxWidth + arrowSize) / 2;
|
| extraParams.menuList.arrowSize = arrowSize;
|
|
|