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 a34189e0efc17f98725ceca4d6796a80226c3dde..e959da9613620549f458d4b7bc63cf68a148e4a9 100644 |
--- a/content/browser/devtools/protocol/devtools_protocol_client.cc |
+++ b/content/browser/devtools/protocol/devtools_protocol_client.cc |
@@ -14,10 +14,11 @@ DevToolsProtocolClient::DevToolsProtocolClient( |
DevToolsProtocolClient::~DevToolsProtocolClient() { |
} |
-void DevToolsProtocolClient::SendNotification(const std::string& method, |
- base::DictionaryValue* params) { |
+void DevToolsProtocolClient::SendNotification( |
+ const std::string& method, |
+ scoped_ptr<base::DictionaryValue> params) { |
scoped_refptr<DevToolsProtocol::Notification> notification = |
- new DevToolsProtocol::Notification(method, params); |
+ new DevToolsProtocol::Notification(method, params.release()); |
SendRawMessage(notification->Serialize()); |
} |