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

Unified Diff: chrome/test/base/chrome_test_suite.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: chrome/test/base/chrome_test_suite.cc
===================================================================
--- chrome/test/base/chrome_test_suite.cc (revision 107845)
+++ chrome/test/base/chrome_test_suite.cc (working copy)
@@ -6,7 +6,6 @@
#include "base/command_line.h"
#include "base/file_util.h"
-#include "base/mac/scoped_nsautorelease_pool.h"
#include "base/memory/ref_counted.h"
#include "base/metrics/stats_table.h"
#include "base/path_service.h"
@@ -31,6 +30,7 @@
#if defined(OS_MACOSX)
#include "base/mac/mac_util.h"
+#include "base/mac/scoped_nsautorelease_pool.h"
#include "content/common/chrome_application_mac.h"
#endif
@@ -159,10 +159,9 @@
void ChromeTestSuite::Initialize() {
#if defined(OS_MACOSX)
chrome_application_mac::RegisterCrApp();
+ base::mac::ScopedNSAutoreleasePool autorelease_pool;
#endif
- base::mac::ScopedNSAutoreleasePool autorelease_pool;
-
base::TestSuite::Initialize();
chrome::RegisterChromeSchemes();

Powered by Google App Engine
This is Rietveld 408576698