Index: third_party/WebKit/Source/core/paint/ThemePainterMac.mm |
diff --git a/third_party/WebKit/Source/core/paint/ThemePainterMac.mm b/third_party/WebKit/Source/core/paint/ThemePainterMac.mm |
index 54f9b7eac56f0e0df350f119e0b290b6ce7972ee..bc90261b0979f4b3c507a4f60b543d732975a0c3 100644 |
--- a/third_party/WebKit/Source/core/paint/ThemePainterMac.mm |
+++ b/third_party/WebKit/Source/core/paint/ThemePainterMac.mm |
@@ -135,7 +135,7 @@ bool ThemePainterMac::paintCapsLockIndicator(const LayoutObject& o, |
CGFloat minX = CGRectGetMinX(cgr); |
CGFloat minY = CGRectGetMinY(cgr); |
CGFloat heightScale = r.height() / kSquareSize; |
- const bool isRTL = o.styleRef().direction() == TextDirection::Rtl; |
+ const bool isRTL = o.styleRef().direction() == TextDirection::kRtl; |
CGAffineTransform transform = |
CGAffineTransformMake(heightScale, 0, // A B |
0, heightScale, // C D |
@@ -283,7 +283,7 @@ bool ThemePainterMac::paintMenuListButton(const LayoutObject& o, |
float scaledPaddingEnd = |
LayoutThemeMac::menuListArrowPaddingEnd * o.styleRef().effectiveZoom(); |
float leftEdge; |
- if (o.styleRef().direction() == TextDirection::Ltr) { |
+ if (o.styleRef().direction() == TextDirection::kLtr) { |
leftEdge = bounds.maxX() - scaledPaddingEnd - arrowWidth; |
} else { |
leftEdge = bounds.x() + scaledPaddingEnd; |