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

Unified Diff: chrome/browser/chromeos/login/username_view.cc

Issue 6134010: Revert 71167 - Remove wstring from gfx.... (Closed) Base URL: svn://svn.chromium.org/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/chromeos/login/username_view.cc
===================================================================
--- chrome/browser/chromeos/login/username_view.cc (revision 71168)
+++ chrome/browser/chromeos/login/username_view.cc (working copy)
@@ -155,10 +155,10 @@
// Note, direct call of the DrawStringInt method produces the green dots
// along the text perimeter (when the label is place on the white background).
SkColor kInvisibleHaloColor = 0x00000000;
- canvas.DrawStringWithHalo(WideToUTF16Hack(GetText()), font(), GetColor(),
- kInvisibleHaloColor, bounds.x() + margin_width_,
- bounds.y(), bounds.width() - 2 * margin_width_,
- bounds.height(), flags);
+ canvas.DrawStringWithHalo(GetText(), font(), GetColor(), kInvisibleHaloColor,
+ bounds.x() + margin_width_, bounds.y(),
+ bounds.width() - 2 * margin_width_, bounds.height(),
+ flags);
text_image_.reset(new SkBitmap(canvas.ExtractBitmap()));
« no previous file with comments | « chrome/browser/chromeos/login/oobe_progress_bar.cc ('k') | chrome/browser/chromeos/panels/panel_scroller_header.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698