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

Unified Diff: base/platform_test_mac.mm

Issue 3805: autorelease message pumps (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 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
« no previous file with comments | « base/message_pump_mac.mm ('k') | base/scoped_nsautorelease_pool.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/platform_test_mac.mm
===================================================================
--- base/platform_test_mac.mm (revision 2601)
+++ base/platform_test_mac.mm (working copy)
@@ -4,12 +4,12 @@
#include "base/platform_test.h"
-#import <Cocoa/Cocoa.h>
+#import <Foundation/Foundation.h>
void PlatformTest::SetUp() {
pool_ = [[NSAutoreleasePool alloc] init];
}
void PlatformTest::TearDown() {
- [pool_ release];
+ [pool_ drain];
}
« no previous file with comments | « base/message_pump_mac.mm ('k') | base/scoped_nsautorelease_pool.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698