Index: remoting/host/it2me/it2me_native_messaging_host.cc |
diff --git a/remoting/host/it2me/it2me_native_messaging_host.cc b/remoting/host/it2me/it2me_native_messaging_host.cc |
index 4d41d6a32955690ccb6d228cc70fa941ff1d03ed..fc7190cc9f59365105ece9ad478f84edfe5572b1 100644 |
--- a/remoting/host/it2me/it2me_native_messaging_host.cc |
+++ b/remoting/host/it2me/it2me_native_messaging_host.cc |
@@ -87,7 +87,7 @@ void It2MeNativeMessagingHost::OnMessage(const std::string& message) { |
// might be a string or a number, so cope with both. |
const base::Value* id; |
if (message_dict->Get("id", &id)) |
- response->Set("id", id->DeepCopy()); |
+ response->Set("id", id->CreateDeepCopy()); |
std::string type; |
if (!message_dict->GetString("type", &type)) { |