| Index: chrome/browser/history/top_sites_impl_unittest.cc
|
| diff --git a/chrome/browser/history/top_sites_impl_unittest.cc b/chrome/browser/history/top_sites_impl_unittest.cc
|
| index b8f02f182d439fb66fcc98c142ff97326e5bc065..03c5194f62823340877516959f906291eafdd7c4 100644
|
| --- a/chrome/browser/history/top_sites_impl_unittest.cc
|
| +++ b/chrome/browser/history/top_sites_impl_unittest.cc
|
| @@ -9,6 +9,7 @@
|
| #include "base/task/cancelable_task_tracker.h"
|
| #include "chrome/browser/history/history_service_factory.h"
|
| #include "chrome/browser/history/top_sites.h"
|
| +#include "chrome/browser/history/top_sites_factory.h"
|
| #include "chrome/browser/history/top_sites_impl.h"
|
| #include "chrome/common/chrome_constants.h"
|
| #include "chrome/common/chrome_paths.h"
|
| @@ -194,7 +195,8 @@ class TopSitesImplTest : public HistoryUnitTestBase {
|
| }
|
|
|
| TopSitesImpl* top_sites() {
|
| - return static_cast<TopSitesImpl*>(profile_->GetTopSites());
|
| + return static_cast<TopSitesImpl*>(
|
| + TopSitesFactory::GetForProfile(profile_.get()).get());
|
| }
|
| TestingProfile* profile() {return profile_.get();}
|
| HistoryService* history_service() {
|
|
|