Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(699)

Unified Diff: ui/views/controls/styled_label.cc

Issue 614103007: Error in popup on Link (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« ui/gfx/text_elider.cc ('K') | « ui/message_center/views/bounded_label.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/styled_label.cc
diff --git a/ui/views/controls/styled_label.cc b/ui/views/controls/styled_label.cc
index 700e62a392115963ae77adb8abb4a2fb60aa0205..5c605f633fc194494b91585dc4937ee86eda5454 100644
--- a/ui/views/controls/styled_label.cc
+++ b/ui/views/controls/styled_label.cc
@@ -241,7 +241,8 @@ gfx::Size StyledLabel::CalculateAndDoLayout(int width, bool dry_run) {
chunk_bounds.width(),
chunk_bounds.height(),
gfx::IGNORE_LONG_WORDS,
- &substrings);
+ &substrings,
+ nullptr);
DCHECK(!substrings.empty());
base::string16 chunk = substrings[0];
« ui/gfx/text_elider.cc ('K') | « ui/message_center/views/bounded_label.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698