| Index: chrome/browser/history/in_memory_url_index.cc
|
| diff --git a/chrome/browser/history/in_memory_url_index.cc b/chrome/browser/history/in_memory_url_index.cc
|
| index 55537eb1e00806fe1f97c0e4f472db1ee2d58b50..33f67f65554777881333f544dd7f386ad4cc23d1 100644
|
| --- a/chrome/browser/history/in_memory_url_index.cc
|
| +++ b/chrome/browser/history/in_memory_url_index.cc
|
| @@ -113,7 +113,7 @@ InMemoryURLIndex::InMemoryURLIndex(Profile* profile,
|
| registrar_.Add(this, chrome::NOTIFICATION_HISTORY_URLS_DELETED, source);
|
| }
|
| if (history_service_)
|
| - history_service_->AddHistoryServiceObserver(this);
|
| + history_service_->AddObserver(this);
|
| }
|
|
|
| // Called only by unit tests.
|
| @@ -142,7 +142,7 @@ void InMemoryURLIndex::Init() {
|
|
|
| void InMemoryURLIndex::ShutDown() {
|
| if (history_service_)
|
| - history_service_->RemoveHistoryServiceObserver(this);
|
| + history_service_->RemoveObserver(this);
|
| registrar_.RemoveAll();
|
| cache_reader_tracker_.TryCancelAll();
|
| shutdown_ = true;
|
|
|