diff options
author | Matt A. Tobin <email@mattatobin.com> | 2018-02-23 10:25:15 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2018-02-23 10:29:19 -0500 |
commit | 5513afc0d22151a69dbee6abe6f7655892f4b59e (patch) | |
tree | 70dcda341ed73246a981e2c13a680850824f0f50 /dom/media/eme/MediaKeySession.cpp | |
parent | 38e595cb2d37cb30b094e9e79c9a73ef16baab1a (diff) | |
download | uxp-eme.tar.gz |
Issue #26 - Undo Bug 1290830 - Make Decryptor APIs reusable by not only GMP framework - Part 1: Reverse patch applicable hunks (Auto)eme
Diffstat (limited to 'dom/media/eme/MediaKeySession.cpp')
-rw-r--r-- | dom/media/eme/MediaKeySession.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/dom/media/eme/MediaKeySession.cpp b/dom/media/eme/MediaKeySession.cpp index d5eff3f773..72585d272c 100644 --- a/dom/media/eme/MediaKeySession.cpp +++ b/dom/media/eme/MediaKeySession.cpp @@ -154,10 +154,9 @@ MediaKeySession::UpdateKeyStatusMap() nsAutoCString message( nsPrintfCString("MediaKeySession[%p,'%s'] key statuses change {", this, NS_ConvertUTF16toUTF8(mSessionId).get())); - using IntegerType = typename std::underlying_type<MediaKeyStatus>::type; for (const CDMCaps::KeyStatus& status : keyStatuses) { message.Append(nsPrintfCString(" (%s,%s)", ToBase64(status.mId).get(), - MediaKeyStatusValues::strings[static_cast<IntegerType>(status.mStatus)].value)); + MediaKeyStatusValues::strings[status.mStatus].value)); } message.Append(" }"); EME_LOG(message.get()); |