| Index: chrome/browser/browsing_data_remover.cc
|
| ===================================================================
|
| --- chrome/browser/browsing_data_remover.cc (revision 146646)
|
| +++ chrome/browser/browsing_data_remover.cc (working copy)
|
| @@ -22,6 +22,7 @@
|
| #include "chrome/browser/extensions/extension_service.h"
|
| #include "chrome/browser/extensions/extension_special_storage_policy.h"
|
| #include "chrome/browser/history/history.h"
|
| +#include "chrome/browser/history/history_service_factory.h"
|
| #include "chrome/browser/io_thread.h"
|
| #include "chrome/browser/nacl_host/nacl_browser.h"
|
| #include "chrome/browser/net/chrome_url_request_context.h"
|
| @@ -217,8 +218,8 @@
|
| forgotten_to_add_origin_mask_type);
|
|
|
| if (remove_mask & REMOVE_HISTORY) {
|
| - HistoryService* history_service =
|
| - profile_->GetHistoryService(Profile::EXPLICIT_ACCESS);
|
| + HistoryService* history_service = HistoryServiceFactory::GetForProfile(
|
| + profile_, Profile::EXPLICIT_ACCESS);
|
| if (history_service) {
|
| std::set<GURL> restrict_urls;
|
| if (!remove_origin_.is_empty())
|
|
|