| Index: chrome/test/base/testing_profile.cc
|
| diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc
|
| index 9570da03e3e207afaaea2ddd3fdd0b1dff5ceea8..318c14c349d38347f2167c1f390135b6fd7ecb49 100644
|
| --- a/chrome/test/base/testing_profile.cc
|
| +++ b/chrome/test/base/testing_profile.cc
|
| @@ -284,9 +284,9 @@ void TestingProfile::CreateTempProfileDir() {
|
|
|
| void TestingProfile::Init() {
|
| // If threads have been initialized, we should be on the UI thread.
|
| - DCHECK(
|
| - !content::BrowserThread::IsWellKnownThread(content::BrowserThread::UI) ||
|
| - content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
|
| + DCHECK(!content::BrowserThread::IsThreadInitialized(
|
| + content::BrowserThread::UI) ||
|
| + content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
|
|
|
| // Normally this would happen during browser startup, but for tests
|
| // we need to trigger creation of Profile-related services.
|
|
|