| Index: chrome/browser/history/chrome_history_client.cc
|
| diff --git a/chrome/browser/history/chrome_history_client.cc b/chrome/browser/history/chrome_history_client.cc
|
| index d9f50f3003c004e02573674678d7dac05a51628b..84fbe551bcb3a850e35fa4bdb0a4dbb6b1ad4d00 100644
|
| --- a/chrome/browser/history/chrome_history_client.cc
|
| +++ b/chrome/browser/history/chrome_history_client.cc
|
| @@ -36,7 +36,7 @@ ChromeHistoryClient::~ChromeHistoryClient() {
|
| void ChromeHistoryClient::SetHistoryService(HistoryService* history_service) {
|
| DCHECK(history_service);
|
| history_service_ = history_service;
|
| - history_service_->AddHistoryServiceObserver(this);
|
| + history_service_->AddObserver(this);
|
| }
|
|
|
| void ChromeHistoryClient::BlockUntilBookmarksLoaded() {
|
| @@ -88,7 +88,7 @@ void ChromeHistoryClient::Shutdown() {
|
| // sees an incorrect view of bookmarks, but it's better than a deadlock.
|
| bookmark_model_->Shutdown();
|
| if (history_service_)
|
| - history_service_->RemoveHistoryServiceObserver(this);
|
| + history_service_->RemoveObserver(this);
|
| }
|
|
|
| // TODO(sdefresne): port client listening for NOTIFICATION_HISTORY_URL_VISITED
|
|
|