| Index: chrome/browser/safe_browsing/malware_details_unittest.cc
|
| ===================================================================
|
| --- chrome/browser/safe_browsing/malware_details_unittest.cc (revision 146646)
|
| +++ chrome/browser/safe_browsing/malware_details_unittest.cc (working copy)
|
| @@ -9,6 +9,7 @@
|
| #include "base/time.h"
|
| #include "chrome/browser/history/history.h"
|
| #include "chrome/browser/history/history_backend.h"
|
| +#include "chrome/browser/history/history_service_factory.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/safe_browsing/malware_details.h"
|
| #include "chrome/browser/safe_browsing/malware_details_history.h"
|
| @@ -209,7 +210,8 @@
|
| }
|
|
|
| HistoryService* history_service() {
|
| - return profile()->GetHistoryService(Profile::EXPLICIT_ACCESS);
|
| + return HistoryServiceFactory::GetForProfile(profile(),
|
| + Profile::EXPLICIT_ACCESS);
|
| }
|
|
|
| protected:
|
|
|