| Index: ui/views/view_text_utils.cc
|
| diff --git a/ui/views/view_text_utils.cc b/ui/views/view_text_utils.cc
|
| index 0ea27d7624d9c35c09ab5a3af10e7197caa12e98..18cc40dbebd80d321bf731d4b2b544a58f3b28f0 100644
|
| --- a/ui/views/view_text_utils.cc
|
| +++ b/ui/views/view_text_utils.cc
|
| @@ -111,7 +111,7 @@ void DrawTextStartingFrom(gfx::Canvas* canvas,
|
| word = text; // Draw the whole text at once.
|
|
|
| int w = 0, h = 0;
|
| - gfx::Canvas::SizeStringInt(word, font, &w, &h, flags);
|
| + gfx::Canvas::SizeStringInt(word, font, &w, &h, 0, flags);
|
|
|
| // If we exceed the boundaries, we need to wrap.
|
| WrapIfWordDoesntFit(w, font.GetHeight(), position, bounds);
|
|
|