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

Unified Diff: media/remoting/proto_utils.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
« no previous file with comments | « media/filters/source_buffer_state.cc ('k') | mojo/public/cpp/bindings/lib/message.cc » ('j') | 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 30114d0c356a0cd742eb70f37a17ce258e807458..3431f3e4fc192cf54145c1770ae8483705e89e87 100644
--- a/media/remoting/proto_utils.cc
+++ b/media/remoting/proto_utils.cc
@@ -358,7 +358,7 @@ void ConvertProtoToPipelineStatistics(
void ConvertCdmKeyInfoToProto(
const CdmKeysInfo& keys_information,
pb::CdmClientOnSessionKeysChange* key_change_message) {
- for (const 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/filters/source_buffer_state.cc ('k') | mojo/public/cpp/bindings/lib/message.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698