Index: chrome/browser/search_engines/template_url_prepopulate_data.cc |
diff --git a/chrome/browser/search_engines/template_url_prepopulate_data.cc b/chrome/browser/search_engines/template_url_prepopulate_data.cc |
index 31c7505ce16437da05e097f01339cde117c7b8cb..ab370ba523f407bfe4e550a24f3f9b3d8497ec17 100644 |
--- a/chrome/browser/search_engines/template_url_prepopulate_data.cc |
+++ b/chrome/browser/search_engines/template_url_prepopulate_data.cc |
@@ -1286,7 +1286,7 @@ TemplateURL* GetPrepopulatedDefaultSearch(Profile* profile) { |
SearchEngineType GetEngineType(const std::string& url) { |
// Restricted to UI thread because ReplaceSearchTerms() is so restricted. |
using content::BrowserThread; |
- DCHECK(!BrowserThread::IsWellKnownThread(BrowserThread::UI) || |
+ DCHECK(!BrowserThread::IsThreadInitialized(BrowserThread::UI) || |
BrowserThread::CurrentlyOn(BrowserThread::UI)); |
// We may get a valid URL, or we may get the Google prepopulate URL which |