| Index: third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp b/third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp
|
| index 8ad7c16893aa134ac131ba1958df40e5d137931a..2e4a3b60265dfc4c9c2035f08501a625fb8ba4c3 100644
|
| --- a/third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp
|
| @@ -287,9 +287,9 @@ void InlineTextBoxPainter::Paint(const PaintInfo& paint_info,
|
| bool is_printing = paint_info.IsPrinting();
|
|
|
| // Determine whether or not we're selected.
|
| - bool have_selection = !is_printing &&
|
| - paint_info.phase != kPaintPhaseTextClip &&
|
| - inline_text_box_.GetSelectionState() != SelectionNone;
|
| + bool have_selection =
|
| + !is_printing && paint_info.phase != kPaintPhaseTextClip &&
|
| + inline_text_box_.GetSelectionState() != SelectionState::kNone;
|
| if (!have_selection && paint_info.phase == kPaintPhaseSelection) {
|
| // When only painting the selection, don't bother to paint if there is none.
|
| return;
|
|
|