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

Unified Diff: device/gamepad/gamepad_data_fetcher_manager.cc

Issue 2691393002: Fix auto raw pointer deduction on linux (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: device/gamepad/gamepad_data_fetcher_manager.cc
diff --git a/device/gamepad/gamepad_data_fetcher_manager.cc b/device/gamepad/gamepad_data_fetcher_manager.cc
index cb91e165d314f7199a49a19c365bdca32624605b..3cc662fb68939e3517973dc6c3f377ce4d57ad09 100644
--- a/device/gamepad/gamepad_data_fetcher_manager.cc
+++ b/device/gamepad/gamepad_data_fetcher_manager.cc
@@ -53,7 +53,7 @@ void GamepadDataFetcherManager::InitializeProvider(GamepadProvider* provider) {
DCHECK(!provider_);
provider_ = provider;
- for (const auto& it : factories_) {
+ for (auto* it : factories_) {
provider_->AddGamepadDataFetcher(it->CreateDataFetcher());
}
}
« no previous file with comments | « device/battery/battery_status_manager_linux_unittest.cc ('k') | extensions/browser/api/system_display/system_display_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698