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 0b0fb12ed9bec925b9193a0af701cf971a0fc5cf..3ad394ff3fe52b3c83f931c7000f7930dcd300dd 100644 |
--- a/third_party/WebKit/Source/core/paint/ThemePainterDefault.cpp |
+++ b/third_party/WebKit/Source/core/paint/ThemePainterDefault.cpp |
@@ -298,7 +298,7 @@ void ThemePainterDefault::setupMenuListArrow( |
mockDropdownMenuListArrowWidth * box.styleRef().effectiveZoom(); |
int arrowSize = std::min(arrowBoxWidth, rect.height()) - 2 * extraPadding; |
extraParams.menuList.arrowX = |
- (box.styleRef().direction() == RTL) |
+ (box.styleRef().direction() == TextDirection::Rtl) |
? rect.x() + extraPadding + (arrowSize / 2) |
: right - (arrowSize / 2) - extraPadding; |
extraParams.menuList.arrowSize = arrowSize; |
@@ -306,7 +306,7 @@ void ThemePainterDefault::setupMenuListArrow( |
const int arrowSize = 6; |
const int arrowPadding = 6; |
extraParams.menuList.arrowX = |
- (box.styleRef().direction() == RTL) |
+ (box.styleRef().direction() == TextDirection::Rtl) |
? rect.x() + arrowPadding * box.styleRef().effectiveZoom() + |
box.borderLeft() |
: right - |