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

Unified Diff: chrome/browser/cocoa/bookmark_bar_controller_unittest.mm

Issue 333023: Fix compile on Snow Leopard. (Closed)
Patch Set: Created 11 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/bookmark_bar_controller_unittest.mm
diff --git a/chrome/browser/cocoa/bookmark_bar_controller_unittest.mm b/chrome/browser/cocoa/bookmark_bar_controller_unittest.mm
index 11dc3fdac9c7f4ca4394bd65e5440ee734de3b60..a777e8cb6fa013beb0b0407c5d6b9e3ccd8df3ec 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])];
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698