summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
authorshess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-04 17:32:43 +0000
committershess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-04 17:32:43 +0000
commitf586d63bbffb13c78d2c61894f157a1918d03e1d (patch)
treefb9bd9be017c3ae7cad19cd9e660f7fed505bfa4 /content
parent3c7a7f33e5ba0f1424f5e594bed9aea1857f5909 (diff)
downloadchromium_src-f586d63bbffb13c78d2c61894f157a1918d03e1d.zip
chromium_src-f586d63bbffb13c78d2c61894f157a1918d03e1d.tar.gz
chromium_src-f586d63bbffb13c78d2c61894f157a1918d03e1d.tar.bz2
Fix annoying autorelease messages for browser tests.
In-process browser tests were spewing things like: safe_browsing_tests[*] *** __NSAutoreleaseNoPool(): Object 0x* of class NSCFString autoreleased with no pool in place - just leaking An ifdef had a typo. Fixed some other cases just to be pedantic. BUG= TEST= Review URL: http://codereview.chromium.org/8386055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108679 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r--content/test/test_launcher.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/test/test_launcher.cc b/content/test/test_launcher.cc
index dde7d19..7d7df69 100644
--- a/content/test/test_launcher.cc
+++ b/content/test/test_launcher.cc
@@ -303,7 +303,7 @@ int GetTestTerminationTimeout(const std::string& test_name,
int RunTest(TestLauncherDelegate* launcher_delegate,
const std::string& test_name,
int default_timeout_ms) {
-#if defined(OS_MACOSXS)
+#if defined(OS_MACOSX)
// Some of the below method calls will leak objects if there is no
// autorelease pool in place.
base::mac::ScopedNSAutoreleasePool pool;