Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3205)

Unified Diff: chrome/browser/bookmarks/chrome_bookmark_client.cc

Issue 2537223008: Add TitledUrlIndex for indexing arbitrary title/URL pairs (Closed)
Patch Set: refactor in-place to preserve history Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/bookmarks/chrome_bookmark_client.cc
diff --git a/chrome/browser/bookmarks/chrome_bookmark_client.cc b/chrome/browser/bookmarks/chrome_bookmark_client.cc
index cd45fb5d0bb94c0e200a48c4fbcce8f032062eab..61190b96c1d56687086d6dfda38048f7dcb2d4b3 100644
--- a/chrome/browser/bookmarks/chrome_bookmark_client.cc
+++ b/chrome/browser/bookmarks/chrome_bookmark_client.cc
@@ -78,7 +78,7 @@ void ChromeBookmarkClient::GetTypedCountForNodes(
// it guarantees to contain those with |typed_count| > 0. Thus, if we cannot
// fetch the URLRow, it is safe to assume that its |typed_count| is 0.
history::URLRow url;
- if (url_db && url_db->GetRowForURL((*i)->url(), &url))
+ if (url_db && url_db->GetRowForURL((*i)->GetTitledUrlNodeUrl(), &url))
typed_count = url.typed_count();
NodeTypedCountPair pair(*i, typed_count);
« no previous file with comments | « no previous file | components/bookmarks/browser/BUILD.gn » ('j') | components/bookmarks/browser/bookmark_client.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698