| Index: chrome/browser/chromeos/boot_times_loader.cc
|
| diff --git a/chrome/browser/chromeos/boot_times_loader.cc b/chrome/browser/chromeos/boot_times_loader.cc
|
| index 6a27400c7623c20a79dac3744012ae8ee2d8e33a..21f163224e94ff37ff9d2227249c5172c9ef0d69 100644
|
| --- a/chrome/browser/chromeos/boot_times_loader.cc
|
| +++ b/chrome/browser/chromeos/boot_times_loader.cc
|
| @@ -121,7 +121,7 @@ BootTimesLoader* BootTimesLoader::Get() {
|
| BootTimesLoader::Handle BootTimesLoader::GetBootTimes(
|
| CancelableRequestConsumerBase* consumer,
|
| BootTimesLoader::GetBootTimesCallback* callback) {
|
| - if (!g_browser_process->file_thread()) {
|
| + if (!BrowserThread::IsMessageLoopValid(BrowserThread::FILE)) {
|
| // This should only happen if Chrome is shutting down, so we don't do
|
| // anything.
|
| return 0;
|
|
|