summaryrefslogtreecommitdiffstats
path: root/views/drag_utils.cc
diff options
context:
space:
mode:
authorjoi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-12 15:16:04 +0000
committerjoi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-12 15:16:04 +0000
commitb22558a183cefa554a1730188a51994504100351 (patch)
tree1761e4f23e2e9060ff7bfa5a9026a4937d73e312 /views/drag_utils.cc
parent3f891cf79f72f4768a15bfae051e08b9211ed8c3 (diff)
downloadchromium_src-b22558a183cefa554a1730188a51994504100351.zip
chromium_src-b22558a183cefa554a1730188a51994504100351.tar.gz
chromium_src-b22558a183cefa554a1730188a51994504100351.tar.bz2
Revert 71167 - Remove wstring from gfx.
BUG=68882 TEST=no visible changes; all tests pass Review URL: http://codereview.chromium.org/6121004 TBR=avi@chromium.org Review URL: http://codereview.chromium.org/6134010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71169 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/drag_utils.cc')
-rw-r--r--views/drag_utils.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/drag_utils.cc b/views/drag_utils.cc
index d249196..8c00edf 100644
--- a/views/drag_utils.cc
+++ b/views/drag_utils.cc
@@ -80,7 +80,7 @@ void CreateDragImageForFile(const FilePath& file_name,
width - 2, font.GetHeight(),
gfx::Canvas::TEXT_ALIGN_CENTER);
#else
- canvas.DrawStringInt(WideToUTF16Hack(name), font, kFileDragImageTextColor,
+ canvas.DrawStringInt(name, font, kFileDragImageTextColor,
0, icon->height() + kLinkDragImageVPadding,
width, font.GetHeight(), gfx::Canvas::TEXT_ALIGN_CENTER);
#endif