| Index: chrome/browser/profiles/profile_statistics_aggregator.cc
|
| diff --git a/chrome/browser/profiles/profile_statistics_aggregator.cc b/chrome/browser/profiles/profile_statistics_aggregator.cc
|
| index c8824877f2c9b93863fc108851d469faea98c7e7..303be356b2de11908921c97d8e92f9915ef92862 100644
|
| --- a/chrome/browser/profiles/profile_statistics_aggregator.cc
|
| +++ b/chrome/browser/profiles/profile_statistics_aggregator.cc
|
| @@ -90,8 +90,8 @@ void ProfileStatisticsAggregator::StartAggregator() {
|
|
|
| // Initiate bookmark counting (async).
|
| tracker_.PostTask(
|
| - content::BrowserThread::GetMessageLoopProxyForThread(
|
| - content::BrowserThread::UI).get(),
|
| + content::BrowserThread::GetTaskRunnerForThread(content::BrowserThread::UI)
|
| + .get(),
|
| FROM_HERE,
|
| base::Bind(&ProfileStatisticsAggregator::WaitOrCountBookmarks, this));
|
|
|
| @@ -122,12 +122,11 @@ void ProfileStatisticsAggregator::StartAggregator() {
|
|
|
| // Initiate preference counting (async).
|
| tracker_.PostTaskAndReplyWithResult(
|
| - content::BrowserThread::GetMessageLoopProxyForThread(
|
| - content::BrowserThread::UI).get(),
|
| - FROM_HERE,
|
| - base::Bind(&ProfileStatisticsAggregator::CountPrefs, this),
|
| - base::Bind(&ProfileStatisticsAggregator::StatisticsCallback,
|
| - this, profiles::kProfileStatisticsSettings));
|
| + content::BrowserThread::GetTaskRunnerForThread(content::BrowserThread::UI)
|
| + .get(),
|
| + FROM_HERE, base::Bind(&ProfileStatisticsAggregator::CountPrefs, this),
|
| + base::Bind(&ProfileStatisticsAggregator::StatisticsCallback, this,
|
| + profiles::kProfileStatisticsSettings));
|
| }
|
|
|
| void ProfileStatisticsAggregator::StatisticsCallback(
|
|
|