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

Unified Diff: media/remoting/proto_utils.cc

Issue 2895573002: Reland of Remove ScopedVector from all other codes in media/ (Closed)
Patch Set: Fix the compile fails in build target "jpeg_decode_accelerator_unittest" Created 3 years, 7 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
« no previous file with comments | « media/mojo/services/mojo_cdm_service.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/remoting/proto_utils.cc
diff --git a/media/remoting/proto_utils.cc b/media/remoting/proto_utils.cc
index 52bd4f26b969b8c93cfc7bd1ea58536c7d3b9f6f..55e1ab5704e0cc255171e8a07df61c8d3417849e 100644
--- a/media/remoting/proto_utils.cc
+++ b/media/remoting/proto_utils.cc
@@ -351,7 +351,7 @@ void ConvertProtoToPipelineStatistics(
void ConvertCdmKeyInfoToProto(
const CdmKeysInfo& keys_information,
pb::CdmClientOnSessionKeysChange* key_change_message) {
- for (auto* info : keys_information) {
+ for (auto& info : keys_information) {
pb::CdmKeyInformation* key = key_change_message->add_key_information();
key->set_key_id(info->key_id.data(), info->key_id.size());
key->set_status(ToProtoCdmKeyInformation(info->status).value());
« no previous file with comments | « media/mojo/services/mojo_cdm_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698