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

Unified Diff: ios/chrome/app/spotlight/bookmarks_spotlight_manager.mm

Issue 2721553004: Remove auto raw pointer deduction from non-linux specific code. (Closed)
Patch Set: rebase Created 3 years, 10 months 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/app/spotlight/bookmarks_spotlight_manager.mm
diff --git a/ios/chrome/app/spotlight/bookmarks_spotlight_manager.mm b/ios/chrome/app/spotlight/bookmarks_spotlight_manager.mm
index c096c432b12b61a1dd06115317cf07c6dba555b3..50f8daca50b9761733a11ccfadb3c95b7d699b5c 100644
--- a/ios/chrome/app/spotlight/bookmarks_spotlight_manager.mm
+++ b/ios/chrome/app/spotlight/bookmarks_spotlight_manager.mm
@@ -289,7 +289,7 @@ initWithLargeIconService:(favicon::LargeIconService*)largeIconService
NSMutableDictionary* spotlightItems = [[NSMutableDictionary alloc] init];
std::vector<const bookmarks::BookmarkNode*> nodes;
_bookmarkModel->GetNodesByURL(URL, &nodes);
- for (auto node : nodes) {
+ for (auto* node : nodes) {
NSString* nodeTitle = base::SysUTF16ToNSString(node->GetTitle());
NSString* spotlightID = [self spotlightIDForURL:URL title:nodeTitle];
CSSearchableItem* item = [spotlightItems objectForKey:spotlightID];
« no previous file with comments | « device/vr/vr_display_impl_unittest.cc ('k') | ios/chrome/browser/payments/payment_method_selection_view_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698