Index: chrome/browser/history/history.cc |
=================================================================== |
--- chrome/browser/history/history.cc (revision 152962) |
+++ chrome/browser/history/history.cc (working copy) |
@@ -201,7 +201,7 @@ |
// Give the InMemoryURLIndex a chance to shutdown. |
if (in_memory_url_index_.get()) |
- in_memory_url_index_->Shutdown(); |
+ in_memory_url_index_->ShutDown(); |
// The backend's destructor must run on the history thread since it is not |
// threadsafe. So this thread must not be the last thread holding a reference |
@@ -737,8 +737,7 @@ |
bool HistoryService::Init(const FilePath& history_dir, |
BookmarkService* bookmark_service, |
- bool no_db, |
- bool disable_index_cache) { |
+ bool no_db) { |
if (!thread_->Start()) { |
Cleanup(); |
return false; |
@@ -757,7 +756,7 @@ |
profile_->GetPrefs()->GetString(prefs::kAcceptLanguages); |
in_memory_url_index_.reset( |
new history::InMemoryURLIndex(profile_, history_dir_, languages)); |
- in_memory_url_index_->Init(disable_index_cache); |
+ in_memory_url_index_->Init(); |
} |
#endif // !OS_ANDROID |