| 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..31da32ca9047055d02cd3e0fc2d02bd6dbf65b6c 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(GetUpdatedCursorBounds(), kCursorColor);
|
| }
|
|
|
| SelectionModel RenderTextLinux::FindCursorPosition(const Point& point) {
|
|
|