| Index: chrome/browser/safe_browsing/malware_details_history.cc
|
| ===================================================================
|
| --- chrome/browser/safe_browsing/malware_details_history.cc (revision 146646)
|
| +++ chrome/browser/safe_browsing/malware_details_history.cc (working copy)
|
| @@ -8,6 +8,7 @@
|
|
|
| #include "base/bind.h"
|
| #include "base/bind_helpers.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/common/chrome_notification_types.h"
|
| @@ -87,8 +88,8 @@
|
| return;
|
| }
|
|
|
| - HistoryService* history = profile_->GetHistoryService(
|
| - Profile::EXPLICIT_ACCESS);
|
| + HistoryService* history = HistoryServiceFactory::GetForProfile(
|
| + profile_, Profile::EXPLICIT_ACCESS);
|
| if (!history) {
|
| AllDone();
|
| return;
|
|
|