Index: content/browser/browser_thread_impl.cc |
diff --git a/content/browser/browser_thread_impl.cc b/content/browser/browser_thread_impl.cc |
index 90f660a55af6163b85290457b165efffd397c44c..fb6feac452fc5c276d3d98624678c37f3e0fe82c 100644 |
--- a/content/browser/browser_thread_impl.cc |
+++ b/content/browser/browser_thread_impl.cc |
@@ -339,14 +339,14 @@ base::SequencedWorkerPool* BrowserThread::GetBlockingPool() { |
} |
// static |
-bool BrowserThread::IsWellKnownThread(ID identifier) { |
+bool BrowserThread::IsThreadInitialized(ID identifier) { |
if (g_globals == NULL) |
return false; |
BrowserThreadGlobals& globals = g_globals.Get(); |
base::AutoLock lock(globals.lock); |
- return (identifier >= 0 && identifier < ID_COUNT && |
- globals.threads[identifier]); |
+ DCHECK(identifier >= 0 && identifier < ID_COUNT); |
+ return globals.threads[identifier] != NULL; |
} |
// static |