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

Unified Diff: ios/chrome/browser/bookmarks/bookmark_client_impl.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: ios/chrome/browser/bookmarks/bookmark_client_impl.cc
diff --git a/ios/chrome/browser/bookmarks/bookmark_client_impl.cc b/ios/chrome/browser/bookmarks/bookmark_client_impl.cc
index 4cf27d8d25d5325db74c9fe67d345a0d82885141..c7df4d84c7a5ce5132e5d2f7cb99860250ba846c 100644
--- a/ios/chrome/browser/bookmarks/bookmark_client_impl.cc
+++ b/ios/chrome/browser/bookmarks/bookmark_client_impl.cc
@@ -56,7 +56,7 @@ void BookmarkClientImpl::GetTypedCountForNodes(
// the URLRow fails, it is safe to assume that its |typed_count| is 0.
int typed_count = 0;
history::URLRow url;
- if (url_db && url_db->GetRowForURL(node->url(), &url))
+ if (url_db && url_db->GetRowForURL(node->GetTitledUrlNodeUrl(), &url))
typed_count = url.typed_count();
NodeTypedCountPair pair(node, typed_count);

Powered by Google App Engine
This is Rietveld 408576698