diff options
Diffstat (limited to 'ui/gfx/render_text.cc')
-rw-r--r-- | ui/gfx/render_text.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gfx/render_text.cc b/ui/gfx/render_text.cc index 503fffc..b6fb359 100644 --- a/ui/gfx/render_text.cc +++ b/ui/gfx/render_text.cc @@ -351,7 +351,7 @@ void RenderText::Draw(Canvas* canvas) { for (std::vector<Rect>::const_iterator i = selection.begin(); i < selection.end(); ++i) { Rect r(*i); - canvas->FillRectInt(selection_color, r.x(), r.y(), r.width(), r.height()); + canvas->FillRect(selection_color, r); } // Create a temporary copy of the style ranges for composition and selection. |