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

Unified Diff: content/browser/renderer_host/media/media_devices_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: content/browser/renderer_host/media/media_devices_manager.cc
diff --git a/content/browser/renderer_host/media/media_devices_manager.cc b/content/browser/renderer_host/media/media_devices_manager.cc
index e8d7f7de3f06b7cc7a147ad292cf6559be1c0072..2910ecd4625e947d96173018e4c42110aa1cdc62 100644
--- a/content/browser/renderer_host/media/media_devices_manager.cc
+++ b/content/browser/renderer_host/media/media_devices_manager.cc
@@ -520,7 +520,7 @@ void MediaDevicesManager::NotifyDeviceChangeSubscribers(
DCHECK_CURRENTLY_ON(BrowserThread::IO);
DCHECK(IsValidMediaDeviceType(type));
- for (const auto& subscriber : device_change_subscribers_[type]) {
+ for (auto* subscriber : device_change_subscribers_[type]) {
subscriber->OnDevicesChanged(type, snapshot);
}
}

Powered by Google App Engine
This is Rietveld 408576698