| Index: ui/gfx/render_text_win.cc
|
| diff --git a/ui/gfx/render_text_win.cc b/ui/gfx/render_text_win.cc
|
| index b2b1b16c9c361ccff571212fa2e208ce64409533..74868352a8b32c661b9795ccacb9a21829cda102 100644
|
| --- a/ui/gfx/render_text_win.cc
|
| +++ b/ui/gfx/render_text_win.cc
|
| @@ -730,10 +730,8 @@ void RenderTextWin::DrawVisualText(Canvas* canvas) {
|
| void RenderTextWin::DrawCursor(Canvas* canvas) {
|
| // Paint cursor. Replace cursor is drawn as rectangle for now.
|
| // TODO(msw): Draw a better cursor with a better indication of association.
|
| - if (cursor_visible() && focused()) {
|
| - Rect r(GetUpdatedCursorBounds());
|
| - canvas->DrawRectInt(kCursorColor, r.x(), r.y(), r.width(), r.height());
|
| - }
|
| + if (cursor_visible() && focused())
|
| + canvas->DrawRect(GetUpdatedCursorBounds(), kCursorColor);
|
| }
|
|
|
| RenderText* RenderText::CreateRenderText() {
|
|
|