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

Unified Diff: third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.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/SVGInlineTextBoxPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.cpp b/third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.cpp
index b2c018dbfc92fe6bbe44836dd5de9dc78cc9292d..3d1c30e2efe66ca9bc35cea889fd31168f402f71 100644
--- a/third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.cpp
@@ -45,7 +45,7 @@ bool SVGInlineTextBoxPainter::ShouldPaintSelection(
// pattern or feImage (element reference.)
if (paint_info.IsRenderingResourceSubtree())
return false;
- return svg_inline_text_box_.GetSelectionState() != SelectionNone;
+ return svg_inline_text_box_.GetSelectionState() != SelectionState::kNone;
}
static bool HasShadow(const PaintInfo& paint_info, const ComputedStyle& style) {

Powered by Google App Engine
This is Rietveld 408576698