| Index: ui/gfx/render_text.cc
|
| diff --git a/ui/gfx/render_text.cc b/ui/gfx/render_text.cc
|
| index f8e58e7948f0a17c458acb62d24e03e6f3293efa..ec2b24eb500ad82a90af72a70f3284e07d3aef9b 100644
|
| --- a/ui/gfx/render_text.cc
|
| +++ b/ui/gfx/render_text.cc
|
| @@ -341,8 +341,7 @@ int RenderText::GetStringWidth() {
|
|
|
| void RenderText::Draw(Canvas* canvas) {
|
| // Clip the canvas to the text display area.
|
| - canvas->ClipRectInt(display_rect_.x(), display_rect_.y(),
|
| - display_rect_.width(), display_rect_.height());
|
| + canvas->ClipRectInt(display_rect_);
|
|
|
| // Draw the selection.
|
| std::vector<Rect> selection(GetSubstringBounds(GetSelectionStart(),
|
|
|