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

Unified Diff: Source/platform/drm/ContentDecryptionModuleSession.cpp

Issue 117323005: MediaKeySession: update(key) -> update(response). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: comments addressed Created 6 years, 12 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: Source/platform/drm/ContentDecryptionModuleSession.cpp
diff --git a/Source/platform/drm/ContentDecryptionModuleSession.cpp b/Source/platform/drm/ContentDecryptionModuleSession.cpp
index 0882ffb429093f746f83f10079b9b79db0e6ed11..04d7801cd4ff42ed5b6fc4b400e5c8c5eb7b5945 100644
--- a/Source/platform/drm/ContentDecryptionModuleSession.cpp
+++ b/Source/platform/drm/ContentDecryptionModuleSession.cpp
@@ -60,9 +60,9 @@ void ContentDecryptionModuleSession::generateKeyRequest(const String& mimeType,
m_session->generateKeyRequest(mimeType, initData.data(), initData.length());
}
-void ContentDecryptionModuleSession::update(const Uint8Array& key)
+void ContentDecryptionModuleSession::update(const Uint8Array& response)
{
- m_session->update(key.data(), key.length());
+ m_session->update(response.data(), response.length());
}
void ContentDecryptionModuleSession::close()

Powered by Google App Engine
This is Rietveld 408576698