summaryrefslogtreecommitdiffstats
path: root/chrome/test/base/in_process_browser_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/base/in_process_browser_test.cc')
-rw-r--r--chrome/test/base/in_process_browser_test.cc13
1 files changed, 0 insertions, 13 deletions
diff --git a/chrome/test/base/in_process_browser_test.cc b/chrome/test/base/in_process_browser_test.cc
index 4c26825..ff23d0b 100644
--- a/chrome/test/base/in_process_browser_test.cc
+++ b/chrome/test/base/in_process_browser_test.cc
@@ -94,17 +94,10 @@ void InProcessBrowserTest::SetUp() {
ASSERT_TRUE(CreateUserDataDirectory())
<< "Could not create user data directory.";
-#if defined(OS_WIN)
- // This is not really Windows-specific, the transition is just being done
- // in stages, and Windows is first. See below for more info.
- DCHECK(!g_browser_process);
-#else
- // TODO(phajdan.jr): Temporary, for http://crbug.com/61062.
// The unit test suite creates a testingbrowser, but we want the real thing.
// Delete the current one. We'll install the testing one in TearDown.
delete g_browser_process;
g_browser_process = NULL;
-#endif
// Allow subclasses the opportunity to make changes to the default user data
// dir before running any tests.
@@ -225,15 +218,9 @@ bool InProcessBrowserTest::CreateUserDataDirectory() {
}
void InProcessBrowserTest::TearDown() {
-#if defined(OS_WIN)
- // This is not really Windows-specific, the transition is just being done
- // in stages, and Windows is first. See below for more info.
- DCHECK(!g_browser_process);
-#else
// Reinstall testing browser process.
delete g_browser_process;
g_browser_process = new TestingBrowserProcess();
-#endif
browser_shutdown::delete_resources_on_shutdown = true;