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

Unified Diff: chrome/browser/ui/cocoa/task_manager_mac_unittest.mm

Issue 10826027: mac: -[NSTableColumn initWithIdentifier:] takes NSString instead of id with the 10.7 sdk. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | « chrome/browser/ui/cocoa/task_manager_mac.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/task_manager_mac_unittest.mm
diff --git a/chrome/browser/ui/cocoa/task_manager_mac_unittest.mm b/chrome/browser/ui/cocoa/task_manager_mac_unittest.mm
index 8d3b8f39b326bf72016b93546a37e93ded84b806..54d8dfc7b2931d3e8191f943f474fa69df3a965a 100644
--- a/chrome/browser/ui/cocoa/task_manager_mac_unittest.mm
+++ b/chrome/browser/ui/cocoa/task_manager_mac_unittest.mm
@@ -71,7 +71,7 @@ TEST_F(TaskManagerWindowControllerTest, Sort) {
// Test that table is sorted on title.
NSTableColumn* title_column = [table tableColumnWithIdentifier:
- [NSNumber numberWithInt:IDS_TASK_MANAGER_TASK_COLUMN]];
+ [NSString stringWithFormat:@"%d", IDS_TASK_MANAGER_TASK_COLUMN]];
NSCell* cell;
cell = [controller tableView:table dataCellForTableColumn:title_column row:0];
EXPECT_NSEQ(@"zzb", [cell title]);
« no previous file with comments | « chrome/browser/ui/cocoa/task_manager_mac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698