Index: extensions/browser/api/socket/socket_api.cc |
diff --git a/extensions/browser/api/socket/socket_api.cc b/extensions/browser/api/socket/socket_api.cc |
index 4ec44356254c0ed788a48036f0ce8a4bcd718d48..e64c2724337b7299e0e08cec75a2a2c6f0c60609 100644 |
--- a/extensions/browser/api/socket/socket_api.cc |
+++ b/extensions/browser/api/socket/socket_api.cc |
@@ -362,7 +362,7 @@ void SocketDisconnectFunction::Work() { |
socket->Disconnect(false /* socket_destroying */); |
else |
error_ = kSocketNotFoundError; |
- SetResult(base::Value::CreateNullValue()); |
+ SetResult(base::MakeUnique<base::Value>()); |
} |
bool SocketBindFunction::Prepare() { |