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

Unified Diff: components/safe_browsing_db/database_manager.cc

Issue 2110663002: components: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase+one fix Created 4 years, 5 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: components/safe_browsing_db/database_manager.cc
diff --git a/components/safe_browsing_db/database_manager.cc b/components/safe_browsing_db/database_manager.cc
index c9821b1a794f59364ee78557933ad3f72fdd8490..fdc6cf4465c266434dc12518405a046bd7a17e13 100644
--- a/components/safe_browsing_db/database_manager.cc
+++ b/components/safe_browsing_db/database_manager.cc
@@ -42,7 +42,7 @@ void SafeBrowsingDatabaseManager::StopOnIOThread(bool shutdown) {
}
// Delete pending checks, calling back any clients with empty metadata.
- for (auto check : api_checks_) {
+ for (auto* check : api_checks_) {
if (check->client()) {
check->client()->
OnCheckApiBlacklistUrlResult(check->url(), ThreatMetadata());
« no previous file with comments | « components/proximity_auth/logging/logging_unittest.cc ('k') | components/safe_browsing_db/remote_database_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698