| Index: chrome/browser/history/history_backend.cc
|
| diff --git a/chrome/browser/history/history_backend.cc b/chrome/browser/history/history_backend.cc
|
| index d53f6727cce8a948986b5fc2438928be4e2bb419..34a0a30b2e08a7561fb6e5b7d50d8312fd1cab8d 100644
|
| --- a/chrome/browser/history/history_backend.cc
|
| +++ b/chrome/browser/history/history_backend.cc
|
| @@ -1058,13 +1058,14 @@ void HistoryBackend::AddPageNoVisitForBookmark(const GURL& url,
|
| db_->AddURL(url_info);
|
| }
|
|
|
| -void HistoryBackend::IterateURLs(HistoryService::URLEnumerator* iterator) {
|
| +void HistoryBackend::IterateURLs(
|
| + const scoped_refptr<VisitedLinkDelegate::URLEnumerator>& iterator) {
|
| if (db_.get()) {
|
| HistoryDatabase::URLEnumerator e;
|
| if (db_->InitURLEnumeratorForEverything(&e)) {
|
| URLRow info;
|
| while (e.GetNextURL(&info)) {
|
| - iterator->OnURL(info);
|
| + iterator->OnURL(info.url());
|
| }
|
| iterator->OnComplete(true); // Success.
|
| return;
|
|
|