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

Unified Diff: media/blink/cdm_session_adapter.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/base/content_decryption_module.h ('k') | media/blink/webcontentdecryptionmodulesession_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/cdm_session_adapter.cc
diff --git a/media/blink/cdm_session_adapter.cc b/media/blink/cdm_session_adapter.cc
index cd28eb13ae45eb63998be8e1231f51b13905dfc0..147ab342498d8dd69e0f18c2ec57a7210c5de929 100644
--- a/media/blink/cdm_session_adapter.cc
+++ b/media/blink/cdm_session_adapter.cc
@@ -198,8 +198,8 @@ void CdmSessionAdapter::OnSessionKeysChange(const std::string& session_id,
if (session) {
DVLOG(2) << __func__ << ": session_id = " << session_id;
DVLOG(2) << " - has_additional_usable_key = " << has_additional_usable_key;
- for (const CdmKeyInformation* info : keys_info)
- DVLOG(2) << " - " << *info;
+ for (const auto& info : keys_info)
+ DVLOG(2) << " - " << *(info.get());
session->OnSessionKeysChange(has_additional_usable_key,
std::move(keys_info));
« no previous file with comments | « media/base/content_decryption_module.h ('k') | media/blink/webcontentdecryptionmodulesession_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698