Index: third_party/WebKit/Source/core/paint/ReplacedPainter.cpp |
diff --git a/third_party/WebKit/Source/core/paint/ReplacedPainter.cpp b/third_party/WebKit/Source/core/paint/ReplacedPainter.cpp |
index fae2aa85362a812c7a1530f67f74a822181aa504..dcd5daea13deff5c7b3e8305aa61f43fc8433e93 100644 |
--- a/third_party/WebKit/Source/core/paint/ReplacedPainter.cpp |
+++ b/third_party/WebKit/Source/core/paint/ReplacedPainter.cpp |
@@ -75,7 +75,7 @@ void ReplacedPainter::Paint(const PaintInfo& paint_info, |
return; |
if (paint_info.phase == kPaintPhaseSelection) |
- if (layout_replaced_.GetSelectionState() == SelectionNone) |
+ if (layout_replaced_.GetSelectionState() == SelectionState::kNone) |
return; |
{ |
@@ -119,7 +119,7 @@ void ReplacedPainter::Paint(const PaintInfo& paint_info, |
// want it to run right up to the edges of surrounding content. |
bool draw_selection_tint = |
paint_info.phase == kPaintPhaseForeground && |
- layout_replaced_.GetSelectionState() != SelectionNone && |
+ layout_replaced_.GetSelectionState() != SelectionState::kNone && |
!paint_info.IsPrinting(); |
if (draw_selection_tint && |
!LayoutObjectDrawingRecorder::UseCachedDrawingIfPossible( |