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 45af2658e0aed00a95dc3d03b09243da822abfaf..46acd495d809e382be6d1d372fcf2e9f3cd97257 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; |
- bool isRTL = o.styleRef().direction() == RTL; |
sashab
2016/12/07 05:40:26
here
|
+ const bool isRTL = o.styleRef().direction() == TextDirection::Rtl; |
CGAffineTransform transform = |
CGAffineTransformMake(heightScale, 0, // A B |
0, heightScale, // C D |