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

Unified Diff: chrome/test/out_of_proc_test_runner.cc

Issue 6816024: Revert 80819 due to failed tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 8 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
« no previous file with comments | « chrome/renderer/renderer_glue.cc ('k') | media/tools/mfplayer/mf_playback_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/out_of_proc_test_runner.cc
===================================================================
--- chrome/test/out_of_proc_test_runner.cc (revision 80823)
+++ chrome/test/out_of_proc_test_runner.cc (working copy)
@@ -579,18 +579,6 @@
return ChromeTestSuite(argc, argv).Run();
}
- // The exit manager is in charge of calling the dtors of singleton objects.
- // On Windows, the call to ChromeMain() below will construct one for the
- // chrome.dll module, but that global is not shared with this module, so if
- // chrome.dll calls back out to this module and the called code uses a
- // singleton, we'll need this. On other platforms, ChromeMain() isn't called
- // at all below, so this is the lone exit manager for any code after this
- // point.
- // NOTE: We can't init this atop main() because ChromeTestSuite, as a subclass
- // of TestSuite, creates one. So we wait until after the Run() call above to
- // create the manager for the code path that _doesn't_ use ChromeTestSuite.
- base::AtExitManager exit_manager;
-
#if defined(OS_WIN)
if (command_line->HasSwitch(switches::kProcessType)) {
// This is a child process, call ChromeMain.
« no previous file with comments | « chrome/renderer/renderer_glue.cc ('k') | media/tools/mfplayer/mf_playback_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698