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

Unified Diff: chrome/browser/app_controller_mac_unittest.mm

Issue 196103: Add "New Window" and "New Incognito Window" items to the Dock Menu.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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
Index: chrome/browser/app_controller_mac_unittest.mm
===================================================================
--- chrome/browser/app_controller_mac_unittest.mm (revision 26039)
+++ chrome/browser/app_controller_mac_unittest.mm (working copy)
@@ -12,7 +12,7 @@
};
TEST_F(AppControllerTest, DockMenu) {
- AppController* ac = [[AppController alloc] init];
+ AppController* ac = [[[AppController alloc] init] autorelease];
pink (ping after 24hrs) 2009/09/14 19:13:03 again, this should be a scoped_nsobject.
NSMenu* menu = [ac applicationDockMenu:NSApp];
NSMenuItem* item;

Powered by Google App Engine
This is Rietveld 408576698