summaryrefslogtreecommitdiffstats
path: root/base/platform_test_mac.mm
diff options
context:
space:
mode:
Diffstat (limited to 'base/platform_test_mac.mm')
-rw-r--r--base/platform_test_mac.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/platform_test_mac.mm b/base/platform_test_mac.mm
index 57dc50d..f3802c1 100644
--- a/base/platform_test_mac.mm
+++ b/base/platform_test_mac.mm
@@ -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];
}