diff options
author | pinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-09 15:35:47 +0000 |
---|---|---|
committer | pinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-09 15:35:47 +0000 |
commit | 7c32108b22446be27129324ce41d32e9c909e379 (patch) | |
tree | 2b18444c829ae9155036ef3c55ab1fb645b9621e /chrome/test | |
parent | 54131d25aa7e887f89ba25851b983150cd1384a8 (diff) | |
download | chromium_src-7c32108b22446be27129324ce41d32e9c909e379.zip chromium_src-7c32108b22446be27129324ce41d32e9c909e379.tar.gz chromium_src-7c32108b22446be27129324ce41d32e9c909e379.tar.bz2 |
Add Recycle() method to scoped autorelease pool to allow cleaning out any junk
created at startup before the main runloop. Correct quit on Mac to let the
BrowserProcess shut down the event loop when its refcount goes to zero after
cleaning up all browser windows.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9386 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test')
-rw-r--r-- | chrome/test/in_process_browser_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/test/in_process_browser_test.cc b/chrome/test/in_process_browser_test.cc index 6d6cc96..dd1f919 100644 --- a/chrome/test/in_process_browser_test.cc +++ b/chrome/test/in_process_browser_test.cc @@ -88,7 +88,7 @@ void InProcessBrowserTest::SetUp() { sandbox::SandboxInterfaceInfo sandbox_info = {0}; SandboxInitWrapper sandbox_wrapper; - MainFunctionParams params(*command_line, sandbox_wrapper); + MainFunctionParams params(*command_line, sandbox_wrapper, NULL); params.ui_task = NewRunnableMethod(this, &InProcessBrowserTest::RunTestOnMainThreadLoop); BrowserMain(params); |