Index: content/renderer/media/crypto/proxy_decryptor.cc |
diff --git a/content/renderer/media/crypto/proxy_decryptor.cc b/content/renderer/media/crypto/proxy_decryptor.cc |
index 95fe49ffc7ee4f3bac4a105568943868ed3cd8a7..079304eb4779320acb8799b8e643ce4920e9b0b4 100644 |
--- a/content/renderer/media/crypto/proxy_decryptor.cc |
+++ b/content/renderer/media/crypto/proxy_decryptor.cc |
@@ -223,9 +223,10 @@ void ProxyDecryptor::OnSessionCreated(uint32 session_id, |
void ProxyDecryptor::OnSessionMessage(uint32 session_id, |
const std::vector<uint8>& message, |
- const std::string& destination_url) { |
+ const GURL& destination_url) { |
// Assumes that OnSessionCreated() has been called before this. |
- key_message_cb_.Run(LookupWebSessionId(session_id), message, destination_url); |
+ key_message_cb_.Run( |
+ LookupWebSessionId(session_id), message, destination_url.spec()); |
} |
void ProxyDecryptor::OnSessionReady(uint32 session_id) { |