diff options
author | boliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-04 22:35:16 +0000 |
---|---|---|
committer | boliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-04 22:35:16 +0000 |
commit | 2ccc010493a244af13a08fa96451a385faa4afca (patch) | |
tree | b091e951f419c50fbbd0fcc574f3716f1a465145 /chrome/browser/history/history_backend.cc | |
parent | a29e009666ce92f8dadfb2f510e53a27d87c7b95 (diff) | |
download | chromium_src-2ccc010493a244af13a08fa96451a385faa4afca.zip chromium_src-2ccc010493a244af13a08fa96451a385faa4afca.tar.gz chromium_src-2ccc010493a244af13a08fa96451a385faa4afca.tar.bz2 |
Revert "Remove VisitedLink dependency on rest of chrome" r175186
There are memory leaks in this patch in RebuildTableFromDelegate
BUG=
TBR=brettw@chromium.org,joi@chromium.org
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/11784006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175217 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/history/history_backend.cc')
-rw-r--r-- | chrome/browser/history/history_backend.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/history/history_backend.cc b/chrome/browser/history/history_backend.cc index 5246f88..d53f672 100644 --- a/chrome/browser/history/history_backend.cc +++ b/chrome/browser/history/history_backend.cc @@ -1058,13 +1058,13 @@ void HistoryBackend::AddPageNoVisitForBookmark(const GURL& url, db_->AddURL(url_info); } -void HistoryBackend::IterateURLs(VisitedLinkDelegate::URLEnumerator* iterator) { +void HistoryBackend::IterateURLs(HistoryService::URLEnumerator* iterator) { if (db_.get()) { HistoryDatabase::URLEnumerator e; if (db_->InitURLEnumeratorForEverything(&e)) { URLRow info; while (e.GetNextURL(&info)) { - iterator->OnURL(info.url()); + iterator->OnURL(info); } iterator->OnComplete(true); // Success. return; |