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

Unified Diff: content/browser/media/cdm/browser_cdm_manager.cc

Issue 2101943004: content: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase/update 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: content/browser/media/cdm/browser_cdm_manager.cc
diff --git a/content/browser/media/cdm/browser_cdm_manager.cc b/content/browser/media/cdm/browser_cdm_manager.cc
index 6b051ac210484fe0a7dc90c8c0496c0d77a8d961..b5e0c96058b12aa227afc976cca9e145810a892c 100644
--- a/content/browser/media/cdm/browser_cdm_manager.cc
+++ b/content/browser/media/cdm/browser_cdm_manager.cc
@@ -347,7 +347,7 @@ void BrowserCdmManager::OnSessionKeysChange(int render_frame_id,
bool has_additional_usable_key,
media::CdmKeysInfo keys_info) {
std::vector<media::CdmKeyInformation> key_info_vector;
- for (const auto& key_info : keys_info)
+ for (auto* key_info : keys_info)
key_info_vector.push_back(*key_info);
Send(new CdmMsg_SessionKeysChange(render_frame_id, cdm_id, session_id,
has_additional_usable_key,
« no previous file with comments | « content/browser/loader/resource_dispatcher_host_browsertest.cc ('k') | content/browser/media/webrtc/webrtc_eventlog_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698