Index: ui/gfx/render_text.cc |
diff --git a/ui/gfx/render_text.cc b/ui/gfx/render_text.cc |
index 503fffccc66399b492aa4de4174dc55f02995808..b6fb3590c76bea025a3c82fbda18c618b65e8881 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. |