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

Unified Diff: third_party/WebKit/Source/core/paint/ThemePainterDefault.cpp

Issue 2614883007: Change computed style enums to be prefixed with 'k'. (Closed)
Patch Set: Rebase on ToT. Created 3 years, 11 months 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/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;
« no previous file with comments | « third_party/WebKit/Source/core/paint/TablePainter.cpp ('k') | third_party/WebKit/Source/core/paint/ThemePainterMac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698