From 2870e098bfc45deb05458779367b3916c659fa7e Mon Sep 17 00:00:00 2001 From: "ananta@chromium.org" Date: Mon, 27 Jun 2011 20:20:55 +0000 Subject: The crash service starup code in the cf net tests suite relies on the AtExitManager instance being around. Moving this to after the test suite initialization fixes the DCHECKs firing in debug builds if the crash service isn't already running. BUG=none TEST=cf net tests should run in debug builds without DCHECKs TBR=robertshield Review URL: http://codereview.chromium.org/7230028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90630 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome_frame/test/net/fake_external_tab.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome_frame/test') diff --git a/chrome_frame/test/net/fake_external_tab.cc b/chrome_frame/test/net/fake_external_tab.cc index 12d4d96..d85cc0c 100644 --- a/chrome_frame/test/net/fake_external_tab.cc +++ b/chrome_frame/test/net/fake_external_tab.cc @@ -552,8 +552,6 @@ int main(int argc, char** argv) { return 0; } - base::ProcessHandle crash_service = chrome_frame_test::StartCrashService(); - google_breakpad::scoped_ptr breakpad( InitializeCrashReporting(HEADLESS)); @@ -563,6 +561,8 @@ int main(int argc, char** argv) { // below require. So we have to instantiate this first. CFUrlRequestUnittestRunner test_suite(argc, argv); + base::ProcessHandle crash_service = chrome_frame_test::StartCrashService(); + WindowWatchdog watchdog; // See url_request_unittest.cc for these credentials. SupplyProxyCredentials credentials("user", "secret"); -- cgit v1.1