| Index: chrome/browser/apps/shortcut_manager.cc
|
| diff --git a/chrome/browser/apps/shortcut_manager.cc b/chrome/browser/apps/shortcut_manager.cc
|
| index 914d1fd0431f717287b38df786060e6567b32a99..539cf651b2579c240c62b3809fee91e280358b6c 100644
|
| --- a/chrome/browser/apps/shortcut_manager.cc
|
| +++ b/chrome/browser/apps/shortcut_manager.cc
|
| @@ -63,9 +63,9 @@ AppShortcutManager::AppShortcutManager(Profile* profile)
|
| weak_factory_(this) {
|
| // Use of g_browser_process requires that we are either on the UI thread, or
|
| // there are no threads initialized (such as in unit tests).
|
| - 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));
|
|
|
| registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_INSTALLED,
|
| content::Source<Profile>(profile_));
|
|
|