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

Unified Diff: third_party/WebKit/Source/core/paint/ListMarkerPainter.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/ListMarkerPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/ListMarkerPainter.cpp b/third_party/WebKit/Source/core/paint/ListMarkerPainter.cpp
index 206982c2cc2ee529a545598586412395237a1440..b71893080e80f5b33965f5c6fceea735133f4e75 100644
--- a/third_party/WebKit/Source/core/paint/ListMarkerPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/ListMarkerPainter.cpp
@@ -25,13 +25,13 @@ static inline void paintSymbol(GraphicsContext& context,
context.setStrokeStyle(SolidStroke);
context.setStrokeThickness(1.0f);
switch (listStyle) {
- case EListStyleType::Disc:
+ case EListStyleType::kDisc:
context.fillEllipse(marker);
break;
- case EListStyleType::Circle:
+ case EListStyleType::kCircle:
context.strokeEllipse(marker);
break;
- case EListStyleType::Square:
+ case EListStyleType::kSquare:
context.fillRect(marker);
break;
default:
@@ -45,7 +45,7 @@ void ListMarkerPainter::paint(const PaintInfo& paintInfo,
if (paintInfo.phase != PaintPhaseForeground)
return;
- if (m_layoutListMarker.style()->visibility() != EVisibility::Visible)
+ if (m_layoutListMarker.style()->visibility() != EVisibility::kVisible)
return;
if (LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(

Powered by Google App Engine
This is Rietveld 408576698