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

Unified Diff: content/renderer/media/render_media_client.cc

Issue 1953803002: Remove remaining uses of KeySystemInfo and InitDataTypeMask (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 4 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
Index: content/renderer/media/render_media_client.cc
diff --git a/content/renderer/media/render_media_client.cc b/content/renderer/media/render_media_client.cc
index 79c28f3f180f3a8f0881a19bb9f65e35785d5987..76001a75d7bd58c273b69609ef7f7c546490f5fd 100644
--- a/content/renderer/media/render_media_client.cc
+++ b/content/renderer/media/render_media_client.cc
@@ -9,7 +9,6 @@
#include "base/time/default_tick_clock.h"
#include "content/public/common/content_client.h"
#include "content/public/renderer/content_renderer_client.h"
-#include "media/base/key_system_info.h"
namespace content {
@@ -71,12 +70,6 @@ void RenderMediaClient::AddSupportedKeySystems(
DVLOG(2) << __FUNCTION__;
DCHECK(thread_checker_.CalledOnValidThread());
- std::vector<media::KeySystemInfo> key_systems_info;
- GetContentClient()->renderer()->AddKeySystems(&key_systems_info);
- for (const auto& info : key_systems_info) {
- key_systems_properties->emplace_back(
- new media::InfoBasedKeySystemProperties(info));
- }
GetContentClient()->renderer()->AddSupportedKeySystems(
key_systems_properties);
« no previous file with comments | « content/public/renderer/content_renderer_client.cc ('k') | content/renderer/media/render_media_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698