| Index: chrome/browser/profiles/profile_statistics.cc
|
| diff --git a/chrome/browser/profiles/profile_statistics.cc b/chrome/browser/profiles/profile_statistics.cc
|
| index 284b34d41681270db9801545ec3a0c10b9c2d71e..d73328cff08228744788e01b4e996458dd61acb6 100644
|
| --- a/chrome/browser/profiles/profile_statistics.cc
|
| +++ b/chrome/browser/profiles/profile_statistics.cc
|
| @@ -8,8 +8,6 @@
|
| #include "base/macros.h"
|
| #include "chrome/browser/browser_process.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| -#include "chrome/browser/profiles/profile_attributes_entry.h"
|
| -#include "chrome/browser/profiles/profile_attributes_storage.h"
|
| #include "chrome/browser/profiles/profile_manager.h"
|
| #include "chrome/browser/profiles/profile_statistics_aggregator.h"
|
|
|
| @@ -28,7 +26,7 @@ void ProfileStatistics::GatherStatistics(
|
| DCHECK(!profile_->IsOffTheRecord() && !profile_->IsSystemProfile());
|
|
|
| if (!aggregator_) {
|
| - aggregator_ = new ProfileStatisticsAggregator(
|
| + aggregator_ = base::MakeUnique<ProfileStatisticsAggregator>(
|
| profile_, base::Bind(&ProfileStatistics::DeregisterAggregator,
|
| weak_ptr_factory_.GetWeakPtr()));
|
| }
|
|
|