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

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

Issue 345051: Cleans up our autorelease handling so that we don't create a layered ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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/cocoa/cocoa_test_helper.mm
===================================================================
--- chrome/browser/cocoa/cocoa_test_helper.mm (revision 31104)
+++ chrome/browser/cocoa/cocoa_test_helper.mm (working copy)
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#import "chrome/browser/cocoa/cocoa_test_helper.h"
+#import "chrome/browser/chrome_browser_application_mac.h"
#import "base/logging.h"
@implementation CocoaTestHelperWindow
@@ -68,7 +69,7 @@
mac_util::SetOverrideAppBundlePath(path);
// Bootstrap Cocoa. It's very unhappy without this.
- [NSApplication sharedApplication];
+ [CrApplication sharedApplication];
}
void CocoaTest::TearDown() {

Powered by Google App Engine
This is Rietveld 408576698