Fix mac compile errors.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@160 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2011-01-10 00:23:42 +00:00
parent 890200a098
commit 7b91ff9266
2 changed files with 6 additions and 6 deletions

View File

@@ -9,11 +9,6 @@
#include "base/message_pump_mac.h"
#include "third_party/WebKit/WebKit/mac/WebCoreSupport/WebSystemInterface.h"
namespace {
// Memory autorelease pool.
static NSAutoreleasePool* g_autopool = nil;
// CrAppProtocol implementation.
@interface CrApplication : NSApplication<CrAppProtocol> {
@private
@@ -35,6 +30,11 @@ static NSAutoreleasePool* g_autopool = nil;
}
@end
namespace {
// Memory autorelease pool.
static NSAutoreleasePool* g_autopool = nil;
void RunLoopObserver(CFRunLoopObserverRef observer, CFRunLoopActivity activity,
void* info)
{