diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-24 19:06:31 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-24 19:06:31 +0000 |
commit | feb2c6f960580d9e1c7f08ccc01b80769d875bdb (patch) | |
tree | 24c1858985a89a6becbe9abc63d87d23fc2740bb /chrome/browser/cocoa | |
parent | 5f10e651b4149013c3ce8b0116f21adde21835bb (diff) | |
download | chromium_src-feb2c6f960580d9e1c7f08ccc01b80769d875bdb.zip chromium_src-feb2c6f960580d9e1c7f08ccc01b80769d875bdb.tar.gz chromium_src-feb2c6f960580d9e1c7f08ccc01b80769d875bdb.tar.bz2 |
Fix compile on Snow Leopard.
BUG=TEST=phajdan
Review URL: http://codereview.chromium.org/333023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30012 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa')
-rw-r--r-- | chrome/browser/cocoa/bookmark_bar_controller_unittest.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/bookmark_bar_controller_unittest.mm b/chrome/browser/cocoa/bookmark_bar_controller_unittest.mm index 11dc3fd..a777e8c 100644 --- a/chrome/browser/cocoa/bookmark_bar_controller_unittest.mm +++ b/chrome/browser/cocoa/bookmark_bar_controller_unittest.mm @@ -686,7 +686,7 @@ TEST_F(BookmarkBarControllerTest, DropBookmarks) { NSMutableArray* nsurls = [NSMutableArray arrayWithCapacity:0]; NSMutableArray* nstitles = [NSMutableArray arrayWithCapacity:0]; for (size_t i = 0; i < arraysize(urls); ++i) { - [nsurls addObject:[NSString stringWithCString:urls[i]]]; + [nsurls addObject:base::SysUTF8ToNSString(urls[i])]; [nstitles addObject:base::SysWideToNSString(titles[i])]; } |