Index: content/browser/devtools/protocol/devtools_protocol_client.cc |
diff --git a/content/browser/devtools/protocol/devtools_protocol_client.cc b/content/browser/devtools/protocol/devtools_protocol_client.cc |
index a0d9547d1bc675750f337a96cac055b64245b99e..57145613c74828c160fa3d62d3936e1b64412cf8 100644 |
--- a/content/browser/devtools/protocol/devtools_protocol_client.cc |
+++ b/content/browser/devtools/protocol/devtools_protocol_client.cc |
@@ -16,9 +16,10 @@ DevToolsProtocolClient::DevToolsProtocolClient( |
DevToolsProtocolClient::~DevToolsProtocolClient() { |
} |
-void DevToolsProtocolClient::SendNotification(const std::string& method, |
- base::DictionaryValue* params) { |
- event_callback_.Run(method, params); |
+void DevToolsProtocolClient::SendNotification( |
+ const std::string& method, |
+ scoped_ptr<base::DictionaryValue> params) { |
+ event_callback_.Run(method, params.release()); |
} |
void DevToolsProtocolClient::SendAsyncResponse( |