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 abbdcf3c19bf86e02697bfdde32f28685c786d60..86c7eb1ec86981e755f6f45386291e8e95db4ae0 100644 |
--- a/ui/message_center/views/bounded_label.cc |
+++ b/ui/message_center/views/bounded_label.cc |
@@ -143,9 +143,13 @@ std::vector<base::string16> InnerBoundedLabel::GetWrappedText(int width, |
// Wrap, using INT_MAX for -1 widths that indicate no wrapping. |
std::vector<base::string16> wrapped; |
- gfx::ElideRectangleText(text(), font_list(), |
+ gfx::ElideRectangleText(text(), |
+ font_list(), |
(width < 0) ? std::numeric_limits<int>::max() : width, |
- height, gfx::WRAP_LONG_WORDS, &wrapped); |
+ height, |
+ gfx::WRAP_LONG_WORDS, |
+ &wrapped, |
+ nullptr); |
// Elide if necessary. |
if (lines > 0 && wrapped.size() > static_cast<unsigned int>(lines)) { |