| Index: media/cdm/ppapi/external_clear_key/clear_key_cdm.cc
|
| diff --git a/media/cdm/ppapi/external_clear_key/clear_key_cdm.cc b/media/cdm/ppapi/external_clear_key/clear_key_cdm.cc
|
| index e98db7c824176aec0173cbbaca2497933cad167f..82e3b63ab2ed69235affbd384af4fcdd75a31fe3 100644
|
| --- a/media/cdm/ppapi/external_clear_key/clear_key_cdm.cc
|
| +++ b/media/cdm/ppapi/external_clear_key/clear_key_cdm.cc
|
| @@ -562,7 +562,7 @@ void ClearKeyCdm::OnSessionCreated(uint32 session_id,
|
|
|
| void ClearKeyCdm::OnSessionMessage(uint32 session_id,
|
| const std::vector<uint8>& message,
|
| - const std::string& destination_url) {
|
| + const GURL& destination_url) {
|
| DVLOG(1) << "OnSessionMessage: " << message.size();
|
|
|
| // Ignore the message when we are waiting to update the loadable session.
|
| @@ -572,8 +572,8 @@ void ClearKeyCdm::OnSessionMessage(uint32 session_id,
|
| host_->OnSessionMessage(session_id,
|
| reinterpret_cast<const char*>(message.data()),
|
| message.size(),
|
| - destination_url.data(),
|
| - destination_url.size());
|
| + destination_url.spec().data(),
|
| + destination_url.spec().size());
|
| }
|
|
|
| void ClearKeyCdm::OnSessionReady(uint32 session_id) {
|
|
|