Index: media/cdm/ppapi/cdm_adapter.cc |
diff --git a/media/cdm/ppapi/cdm_adapter.cc b/media/cdm/ppapi/cdm_adapter.cc |
index a54ab390c226f5578eca1ad0b5747d99a0a85548..092566b25ce61a2281815befcbc6d4962607b8fc 100644 |
--- a/media/cdm/ppapi/cdm_adapter.cc |
+++ b/media/cdm/ppapi/cdm_adapter.cc |
@@ -385,13 +385,13 @@ void CdmAdapter::UpdateSession(uint32_t promise_id, |
void CdmAdapter::ReleaseSession(uint32_t promise_id, |
const std::string& web_session_id) { |
- cdm_->CloseSession( |
+ cdm_->RemoveSession( |
ddorwin
2014/08/22 23:59:44
This CL makes a bunch of changes we'll want to und
ddorwin
2014/08/23 00:14:30
As discussed, even after piping everything through
jrummell
2014/08/23 00:27:15
Description updated.
|
promise_id, web_session_id.data(), web_session_id.length()); |
} |
-void CdmAdapter::RemoveSession(uint32_t promise_id, |
- const std::string& web_session_id) { |
- if (!cdm_->RemoveSession( |
+void CdmAdapter::CloseSession(uint32_t promise_id, |
+ const std::string& web_session_id) { |
+ if (!cdm_->CloseSession( |
promise_id, web_session_id.data(), web_session_id.length())) { |
// CDM_4 and CDM_5 don't support this method, so reject the promise. |
RejectPromise(promise_id, cdm::kNotSupportedError, 0, "Not implemented."); |