diff options
author | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-25 20:40:41 +0000 |
---|---|---|
committer | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-25 20:40:41 +0000 |
commit | a95783431c8cbc99981692cc0978af95cb3777af (patch) | |
tree | b9d31a16437a71e7f472a69fb616e418b42d43ad /base/scoped_nsautorelease_pool.h | |
parent | 89836e2574a390828deb9bf86f0d169f7aacfd39 (diff) | |
download | chromium_src-a95783431c8cbc99981692cc0978af95cb3777af.zip chromium_src-a95783431c8cbc99981692cc0978af95cb3777af.tar.gz chromium_src-a95783431c8cbc99981692cc0978af95cb3777af.tar.bz2 |
Fix non-Mac break from r2603
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2604 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/scoped_nsautorelease_pool.h')
-rw-r--r-- | base/scoped_nsautorelease_pool.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/base/scoped_nsautorelease_pool.h b/base/scoped_nsautorelease_pool.h index dff5362..0e779af 100644 --- a/base/scoped_nsautorelease_pool.h +++ b/base/scoped_nsautorelease_pool.h @@ -26,8 +26,10 @@ namespace base { // effects. This allows it to be used directly in cross-platform code without // ugly #ifdefs. class ScopedNSAutoreleasePool { -#if defined(OS_MACOSX) public: +#if !defined(OS_MACOSX) + ScopedNSAutoreleasePool() {} +#else // OS_MACOSX ScopedNSAutoreleasePool(); ~ScopedNSAutoreleasePool(); |