| Index: ui/message_center/views/bounded_label.cc
|
| diff --git a/ui/message_center/views/bounded_label.cc b/ui/message_center/views/bounded_label.cc
|
| index 9a39fb55bbef54da6052f4246dda459352e76651..e55f1e62d6449ceb941a3ae8b959409809bc03c4 100644
|
| --- a/ui/message_center/views/bounded_label.cc
|
| +++ b/ui/message_center/views/bounded_label.cc
|
| @@ -138,13 +138,6 @@ std::vector<base::string16> InnerBoundedLabel::GetWrappedText(int width,
|
| height = (lines + 1) * line_height;
|
| }
|
|
|
| - // Try to ensure that the width is no smaller than the width of the text's
|
| - // characters to avoid the http://crbug.com/237700 infinite loop.
|
| - // TODO(dharcourt): Remove when http://crbug.com/237700 is fixed.
|
| - width = std::max(width,
|
| - 2 * gfx::GetStringWidth(base::UTF8ToUTF16("W"),
|
| - font_list()));
|
| -
|
| // Wrap, using INT_MAX for -1 widths that indicate no wrapping.
|
| std::vector<base::string16> wrapped;
|
| gfx::ElideRectangleText(text(), font_list(),
|
|
|