Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: third_party/WebKit/Source/core/paint/ThemePainterMac.mm

Issue 2555923002: Changed TextDirection to an enum class and renamed its members (Closed)
Patch Set: Added 2 changes in mac files Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698