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

Unified Diff: chrome/browser/ui/views/sad_tab_view.cc

Issue 6121004: Remove wstring from gfx. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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/sad_tab_view.cc
===================================================================
--- chrome/browser/ui/views/sad_tab_view.cc (revision 71043)
+++ chrome/browser/ui/views/sad_tab_view.cc (working copy)
@@ -76,13 +76,13 @@
canvas->DrawBitmapInt(*sad_tab_bitmap_, icon_bounds_.x(), icon_bounds_.y());
- canvas->DrawStringInt(title_, *title_font_, kTitleColor, title_bounds_.x(),
- title_bounds_.y(), title_bounds_.width(),
- title_bounds_.height(),
+ canvas->DrawStringInt(WideToUTF16Hack(title_), *title_font_, kTitleColor,
+ title_bounds_.x(), title_bounds_.y(),
+ title_bounds_.width(), title_bounds_.height(),
gfx::Canvas::TEXT_ALIGN_CENTER);
- canvas->DrawStringInt(message_, *message_font_, kMessageColor,
- message_bounds_.x(), message_bounds_.y(),
+ canvas->DrawStringInt(WideToUTF16Hack(message_), *message_font_,
+ kMessageColor, message_bounds_.x(), message_bounds_.y(),
message_bounds_.width(), message_bounds_.height(),
gfx::Canvas::MULTI_LINE);
« no previous file with comments | « chrome/browser/ui/views/location_bar/content_setting_image_view.cc ('k') | chrome/browser/ui/views/status_bubble_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698