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

Unified Diff: views/drag_utils.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: views/drag_utils.cc
===================================================================
--- views/drag_utils.cc (revision 71043)
+++ views/drag_utils.cc (working copy)
@@ -80,7 +80,7 @@
width - 2, font.GetHeight(),
gfx::Canvas::TEXT_ALIGN_CENTER);
#else
- canvas.DrawStringInt(name, font, kFileDragImageTextColor,
+ canvas.DrawStringInt(WideToUTF16Hack(name), font, kFileDragImageTextColor,
0, icon->height() + kLinkDragImageVPadding,
width, font.GetHeight(), gfx::Canvas::TEXT_ALIGN_CENTER);
#endif

Powered by Google App Engine
This is Rietveld 408576698