Index: content/renderer/media/webcontentdecryptionmodulesession_impl.cc |
diff --git a/content/renderer/media/webcontentdecryptionmodulesession_impl.cc b/content/renderer/media/webcontentdecryptionmodulesession_impl.cc |
index 76935ae169aba62e45220c7f778ed64ea586a7f5..343397f32ddf464b482098448378a9b2ccb640bb 100644 |
--- a/content/renderer/media/webcontentdecryptionmodulesession_impl.cc |
+++ b/content/renderer/media/webcontentdecryptionmodulesession_impl.cc |
@@ -71,10 +71,9 @@ void WebContentDecryptionModuleSessionImpl::OnSessionCreated( |
void WebContentDecryptionModuleSessionImpl::OnSessionMessage( |
const std::vector<uint8>& message, |
- const std::string& destination_url) { |
- client_->message(message.empty() ? NULL : &message[0], |
- message.size(), |
- GURL(destination_url)); |
+ const GURL& destination_url) { |
+ client_->message( |
+ message.empty() ? NULL : &message[0], message.size(), destination_url); |
} |
void WebContentDecryptionModuleSessionImpl::OnSessionReady() { |