Chromium Code Reviews

Unified Diff: chrome/browser/ui/views/location_bar/content_setting_image_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.
Jump to:
View side-by-side diff with in-line comments
Index: chrome/browser/ui/views/location_bar/content_setting_image_view.cc
===================================================================
--- chrome/browser/ui/views/location_bar/content_setting_image_view.cc (revision 71043)
+++ chrome/browser/ui/views/location_bar/content_setting_image_view.cc (working copy)
@@ -183,7 +183,7 @@
if (animation_in_progress_) {
// Paint text to the right of the icon.
ResourceBundle& rb = ResourceBundle::GetSharedInstance();
- canvas->DrawStringInt(UTF16ToWideHack(animated_text_),
+ canvas->DrawStringInt(animated_text_,
rb.GetFont(ResourceBundle::MediumFont), SK_ColorBLACK,
GetImageBounds().right() + kTextMarginPixels, y(),
width() - GetImageBounds().width(), height(),

Powered by Google App Engine