| Index: ui/gfx/render_text_linux.cc
|
| diff --git a/ui/gfx/render_text_linux.cc b/ui/gfx/render_text_linux.cc
|
| index 92af95e6d97bf8d4c61bf51c2d716b003850575d..f7a5f649bb7ac530ecd46812c3c3073f5cd4c7b3 100644
|
| --- a/ui/gfx/render_text_linux.cc
|
| +++ b/ui/gfx/render_text_linux.cc
|
| @@ -114,13 +114,8 @@ void RenderTextLinux::Draw(Canvas* canvas) {
|
| cairo_restore(cr);
|
|
|
| // Paint cursor.
|
| - bounds = GetUpdatedCursorBounds();
|
| if (cursor_visible() && focused())
|
| - canvas->DrawRectInt(kCursorColor,
|
| - bounds.x(),
|
| - bounds.y(),
|
| - bounds.width(),
|
| - bounds.height());
|
| + canvas->DrawRect(kCursorColor, GetUpdatedCursorBounds());
|
| }
|
|
|
| SelectionModel RenderTextLinux::FindCursorPosition(const Point& point) {
|
|
|