summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/cocoa_test_helper.mm
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/cocoa/cocoa_test_helper.mm')
-rw-r--r--chrome/browser/cocoa/cocoa_test_helper.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/cocoa/cocoa_test_helper.mm b/chrome/browser/cocoa/cocoa_test_helper.mm
index 46029aa..136412b 100644
--- a/chrome/browser/cocoa/cocoa_test_helper.mm
+++ b/chrome/browser/cocoa/cocoa_test_helper.mm
@@ -124,7 +124,7 @@ void CocoaTest::TearDown() {
// Autorelease anything thrown up by the event loop.
{
- base::ScopedNSAutoreleasePool pool;
+ base::mac::ScopedNSAutoreleasePool pool;
++spins;
NSEvent *next_event = [NSApp nextEventMatchingMask:NSAnyEventMask
untilDate:nil
@@ -164,7 +164,7 @@ std::set<NSWindow*> CocoaTest::ApplicationWindows() {
// Must create a pool here because [NSApp windows] has created an array
// with retains on all the windows in it.
- base::ScopedNSAutoreleasePool pool;
+ base::mac::ScopedNSAutoreleasePool pool;
NSArray *appWindows = [NSApp windows];
for (NSWindow *window in appWindows) {
windows.insert(window);