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

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

Issue 2367293002: Changed EListStyleType to an enum class and renamed its members to keywords (Closed)
Patch Set: Final patch + formatting Created 4 years, 1 month 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 25808a989119baab5e4d5c2811c7b4c2b08a6eea..206982c2cc2ee529a545598586412395237a1440 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 Disc:
+ case EListStyleType::Disc:
context.fillEllipse(marker);
break;
- case Circle:
+ case EListStyleType::Circle:
context.strokeEllipse(marker);
break;
- case Square:
+ case EListStyleType::Square:
context.fillRect(marker);
break;
default:
« no previous file with comments | « third_party/WebKit/Source/core/layout/ListMarkerText.cpp ('k') | third_party/WebKit/Source/core/style/ComputedStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698