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

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

Issue 2916493002: Make SelectionState enum class (Closed)
Patch Set: Created 3 years, 7 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 03a58e171d3c2e700c94ce8b0570ac691f3fbeff..9b8b9f70cfcf6e3fd2094888a6b88f0fa93cd7a3 100644
--- a/third_party/WebKit/Source/core/paint/ListMarkerPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/ListMarkerPainter.cpp
@@ -76,7 +76,7 @@ void ListMarkerPainter::Paint(const PaintInfo& paint_info,
->GetImage(layout_list_marker_, marker.Size())
.Get(),
marker);
- if (layout_list_marker_.GetSelectionState() != SelectionNone) {
+ if (layout_list_marker_.GetSelectionState() != SelectionState::kNone) {
LayoutRect sel_rect = layout_list_marker_.LocalSelectionRect();
sel_rect.MoveBy(box_origin);
context.FillRect(
« no previous file with comments | « third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp ('k') | third_party/WebKit/Source/core/paint/PartPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698