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

Unified Diff: chrome/browser/android/bookmarks/bookmark_bridge.cc

Issue 2537223008: Add TitledUrlIndex for indexing arbitrary title/URL pairs (Closed)
Patch Set: const 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
« no previous file with comments | « no previous file | components/bookmarks/browser/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/bookmarks/bookmark_bridge.cc
diff --git a/chrome/browser/android/bookmarks/bookmark_bridge.cc b/chrome/browser/android/bookmarks/bookmark_bridge.cc
index b91e6c6b3d1f474dabf87f153e71dc7168ff0632..f56a182e177ea47d7932ec6050b5611706a641f9 100644
--- a/chrome/browser/android/bookmarks/bookmark_bridge.cc
+++ b/chrome/browser/android/bookmarks/bookmark_bridge.cc
@@ -593,7 +593,7 @@ void BookmarkBridge::SearchBookmarks(JNIEnv* env,
query_parser::MatchingAlgorithm::ALWAYS_PREFIX_SEARCH,
&results);
for (const bookmarks::BookmarkMatch& match : results) {
- const BookmarkNode* node = match.node;
+ const BookmarkNode* node = static_cast<const BookmarkNode*>(match.node);
std::vector<int> title_match_start_positions;
std::vector<int> title_match_end_positions;
« no previous file with comments | « no previous file | components/bookmarks/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698