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

Unified Diff: content/renderer/media/crypto/key_systems.cc

Issue 415273002: Fix various uninitialized member variables in media code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
« no previous file with comments | « no previous file | content/renderer/media/webmediaplayer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/crypto/key_systems.cc
diff --git a/content/renderer/media/crypto/key_systems.cc b/content/renderer/media/crypto/key_systems.cc
index dace75167b17c37ccee6ae3c7a99d99efa08a34c..501fc42be3693b8388eb91407c7b20bcde73d5a3 100644
--- a/content/renderer/media/crypto/key_systems.cc
+++ b/content/renderer/media/crypto/key_systems.cc
@@ -125,7 +125,8 @@ class KeySystems {
friend struct base::DefaultLazyInstanceTraits<KeySystems>;
struct KeySystemProperties {
- KeySystemProperties() : use_aes_decryptor(false) {}
+ KeySystemProperties()
+ : use_aes_decryptor(false), supported_codecs(EME_CODEC_NONE) {}
bool use_aes_decryptor;
#if defined(ENABLE_PEPPER_CDMS)
« no previous file with comments | « no previous file | content/renderer/media/webmediaplayer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698