Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2152)

Unified Diff: base/message_pump_default.cc

Issue 8414020: Expose the sandbox related code through the content API. I did a bit of cleanup while I was doing... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/message_pump_default.cc
===================================================================
--- base/message_pump_default.cc (revision 107845)
+++ base/message_pump_default.cc (working copy)
@@ -5,7 +5,10 @@
#include "base/message_pump_default.h"
#include "base/logging.h"
+
+#if defined(OS_MACOSX)
#include "base/mac/scoped_nsautorelease_pool.h"
+#endif
namespace base {
@@ -18,7 +21,9 @@
DCHECK(keep_running_) << "Quit must have been called outside of Run!";
for (;;) {
+#if defined(OS_MACOSX)
Mark Mentovai 2012/03/26 16:23:16 Like here, for example.
mac::ScopedNSAutoreleasePool autorelease_pool;
+#endif
bool did_work = delegate->DoWork();
if (!keep_running_)

Powered by Google App Engine
This is Rietveld 408576698