| Index: chrome/test/base/in_process_browser_test.cc
|
| diff --git a/chrome/test/base/in_process_browser_test.cc b/chrome/test/base/in_process_browser_test.cc
|
| index 52cebdd6f604ab616a20be3035abe00e6fcb44bf..d8d621f9a5d6f2de419f14807bd142be9716577a 100644
|
| --- a/chrome/test/base/in_process_browser_test.cc
|
| +++ b/chrome/test/base/in_process_browser_test.cc
|
| @@ -95,7 +95,11 @@ void InProcessBrowserTest::SetUp() {
|
| ASSERT_TRUE(CreateUserDataDirectory())
|
| << "Could not create user data directory.";
|
|
|
| - DCHECK(!g_browser_process);
|
| + // Undo TestingBrowserProcess creation in ChromeTestSuite.
|
| + // TODO(phajdan.jr): Extract a smaller test suite so we don't need this.
|
| + DCHECK(g_browser_process);
|
| + delete g_browser_process;
|
| + g_browser_process = NULL;
|
|
|
| // Allow subclasses the opportunity to make changes to the default user data
|
| // dir before running any tests.
|
|
|