diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-09 20:30:28 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-09 20:30:28 +0000 |
commit | e04515dc33d7685a4c9537ac49804d01fd16f1eb (patch) | |
tree | 6114cc1577909d8be127ef36bc99e1dad53759b5 | |
parent | ad00c9e24ac37318a9648d8921c224c0dafcbfcb (diff) | |
download | chromium_src-e04515dc33d7685a4c9537ac49804d01fd16f1eb.zip chromium_src-e04515dc33d7685a4c9537ac49804d01fd16f1eb.tar.gz chromium_src-e04515dc33d7685a4c9537ac49804d01fd16f1eb.tar.bz2 |
mac: remove a ToWStringHack
BUG=69467
Review URL: http://codereview.chromium.org/6639019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77513 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/ui/cocoa/download/download_util_mac_unittest.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/ui/cocoa/download/download_util_mac_unittest.mm b/chrome/browser/ui/cocoa/download/download_util_mac_unittest.mm index bd99e02..2230207 100644 --- a/chrome/browser/ui/cocoa/download/download_util_mac_unittest.mm +++ b/chrome/browser/ui/cocoa/download/download_util_mac_unittest.mm @@ -51,7 +51,7 @@ TEST_F(DownloadUtilMacTest, AddFileToPasteboardTest) { NSArray* files = [pasteboard() propertyListForType:NSFilenamesPboardType]; ASSERT_TRUE(files != nil); NSString* expectedPath = [files objectAtIndex:0]; - NSString* realPath = base::SysWideToNSString(testPath.ToWStringHack()); + NSString* realPath = base::SysUTF8ToNSString(testPath.value()); EXPECT_NSEQ(expectedPath, realPath); } |