| Index: content/browser/browser_context.cc
|
| diff --git a/content/browser/browser_context.cc b/content/browser/browser_context.cc
|
| index b0251f2d41d5a9d4e79ff943724983281db0bf53..a1c1d0acdfc24b70a7ddeb5ac27cd5edbf63339c 100644
|
| --- a/content/browser/browser_context.cc
|
| +++ b/content/browser/browser_context.cc
|
| @@ -412,7 +412,7 @@ void BrowserContext::Initialize(
|
| new base::SupportsUserData::Data);
|
|
|
| MojoShellConnection* shell = MojoShellConnection::GetForProcess();
|
| - if (shell && base::ThreadTaskRunnerHandle::Get()) {
|
| + if (shell && base::ThreadTaskRunnerHandle::IsSet()) {
|
| // NOTE: Many unit tests create a TestBrowserContext without initializing
|
| // Mojo or the global Mojo shell connection.
|
|
|
|
|