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

Unified Diff: chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc

Issue 614103007: Error in popup on Link (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update after review 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
Index: chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc
diff --git a/chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc b/chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc
index d54e9c844acaf8639af8089ac5c9e73534a90357..5bbee94a622af03f783ea97cb809afc6c4c17885 100644
--- a/chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc
+++ b/chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc
@@ -339,9 +339,13 @@ class InstalledBubbleContent : public views::View,
// Word-wrap the full label text.
const gfx::FontList font_list;
std::vector<base::string16> lines;
- gfx::ElideRectangleText(full_text, font_list, contents_area.width(),
- contents_area.height(), gfx::ELIDE_LONG_WORDS,
- &lines);
+ gfx::ElideRectangleText(full_text,
+ font_list,
+ contents_area.width(),
+ contents_area.height(),
+ gfx::ELIDE_LONG_WORDS,
+ &lines,
+ nullptr);
gfx::Point position = gfx::Point(
contents_area.origin().x() + offset_x,
« no previous file with comments | « ash/system/user/user_card_view.cc ('k') | ui/gfx/canvas_skia.cc » ('j') | ui/gfx/canvas_skia.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698