| Index: chrome/browser/google/google_util_chromeos.cc
|
| diff --git a/chrome/browser/google/google_util_chromeos.cc b/chrome/browser/google/google_util_chromeos.cc
|
| index b39d910ef396008739fe2cb7feda743b551a10b6..06232e4df629a00a1b6f7bf03026305fe2f039d3 100644
|
| --- a/chrome/browser/google/google_util_chromeos.cc
|
| +++ b/chrome/browser/google/google_util_chromeos.cc
|
| @@ -46,16 +46,16 @@ bool g_brand_empty = false;
|
| } // namespace
|
|
|
| void ClearBrandForCurrentSession() {
|
| - 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));
|
| g_brand_empty = true;
|
| }
|
|
|
| std::string GetBrand() {
|
| - 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));
|
| if (g_brand_empty)
|
| return std::string();
|
| DCHECK(g_browser_process->local_state());
|
|
|