| Index: ui/base/text/text_elider.cc
|
| diff --git a/ui/base/text/text_elider.cc b/ui/base/text/text_elider.cc
|
| index b64599244463245197bc582bad1bcdf6905faa49..5f1593e9519f9c1156c2a2a97e52edceb7fda42f 100644
|
| --- a/ui/base/text/text_elider.cc
|
| +++ b/ui/base/text/text_elider.cc
|
| @@ -907,7 +907,7 @@ bool RectangleText::Finalize() {
|
|
|
| void RectangleText::AddLine(const string16& line) {
|
| const int line_width = font_.GetStringWidth(line);
|
| - if (line_width < available_pixel_width_) {
|
| + if (line_width <= available_pixel_width_) {
|
| AddToCurrentLineWithWidth(line, line_width);
|
| } else {
|
| // Iterate over positions that are valid to break the line at. In general,
|
|
|