| Index: chrome/test/base/testing_browser_process.cc
|
| diff --git a/chrome/test/base/testing_browser_process.cc b/chrome/test/base/testing_browser_process.cc
|
| index fb2f1d4dbd4ec5c619d368e3d3a40488cd169b8c..96f5a2c48ae05a08308526806de6f277420de1b2 100644
|
| --- a/chrome/test/base/testing_browser_process.cc
|
| +++ b/chrome/test/base/testing_browser_process.cc
|
| @@ -269,7 +269,7 @@ void TestingBrowserProcess::SetDevToolsManager(DevToolsManager* manager) {
|
| }
|
|
|
| ScopedTestingBrowserProcess::ScopedTestingBrowserProcess() {
|
| -#if defined(OS_WIN)
|
| +#if defined(OS_WIN) || defined(OS_LINUX)
|
| // 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);
|
| @@ -289,7 +289,7 @@ ScopedTestingBrowserProcess::ScopedTestingBrowserProcess() {
|
| ScopedTestingBrowserProcess::~ScopedTestingBrowserProcess() {
|
| DCHECK_EQ(browser_process_.get(), g_browser_process);
|
|
|
| -#if defined(OS_WIN)
|
| +#if defined(OS_WIN) || defined(OS_LINUX)
|
| // This is not really Windows-specific, the transition is just being done
|
| // in stages, and Windows is first. See below for more info.
|
| g_browser_process = NULL;
|
|
|