Index: ui/gfx/render_text.cc |
diff --git a/ui/gfx/render_text.cc b/ui/gfx/render_text.cc |
index 41e7cf44cb6d6fc293974d3370eddee68110ac01..bb46e0acafc84ba5f99fbdb54205a1ddb70145cb 100644 |
--- a/ui/gfx/render_text.cc |
+++ b/ui/gfx/render_text.cc |
@@ -864,9 +864,6 @@ void RenderText::Draw(Canvas* canvas) { |
if (!text().empty() && focused()) |
DrawSelection(canvas); |
- if (cursor_enabled() && cursor_visible() && focused()) |
- DrawCursor(canvas, selection_model_); |
- |
if (!text().empty()) { |
internal::SkiaTextRenderer renderer(canvas); |
if (halo_effect()) |
@@ -1079,7 +1076,6 @@ RenderText::RenderText() |
directionality_mode_(DIRECTIONALITY_FROM_TEXT), |
text_direction_(base::i18n::UNKNOWN_DIRECTION), |
cursor_enabled_(true), |
- cursor_visible_(false), |
cursor_color_(kDefaultColor), |
selection_color_(kDefaultColor), |
selection_background_focused_color_(kDefaultSelectionBackgroundColor), |