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

Unified Diff: views/widget/tooltip_manager_views.cc

Issue 8142026: Revert 104076 - Change std::wstring to string16 for views::Link (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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
« no previous file with comments | « views/focus/focus_manager_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/widget/tooltip_manager_views.cc
===================================================================
--- views/widget/tooltip_manager_views.cc (revision 104083)
+++ views/widget/tooltip_manager_views.cc (working copy)
@@ -185,7 +185,7 @@
string16 tooltip_text(tooltip_text_);
TrimTooltipToFit(&tooltip_text, &max_width, &line_count,
curr_mouse_pos_.x(), curr_mouse_pos_.y());
- tooltip_label_.SetText(tooltip_text);
+ tooltip_label_.SetText(UTF16ToWideHack(tooltip_text));
SetTooltipBounds(curr_mouse_pos_, max_width,
tooltip_label_.GetPreferredSize().height());
« no previous file with comments | « views/focus/focus_manager_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698