Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(389)

Unified Diff: net/test/spawned_test_server/remote_test_server.cc

Issue 2792573002: Remove base::Value::CreateNullValue (Closed)
Patch Set: Rebase Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/test/spawned_test_server/remote_test_server.cc
diff --git a/net/test/spawned_test_server/remote_test_server.cc b/net/test/spawned_test_server/remote_test_server.cc
index 17dc21eba2b5c98a0e74464bc260a0e17a4cd86f..90ec54e574db77663c260af4b9f5a96bd1c201c9 100644
--- a/net/test/spawned_test_server/remote_test_server.cc
+++ b/net/test/spawned_test_server/remote_test_server.cc
@@ -15,6 +15,7 @@
#include "base/json/json_writer.h"
#include "base/lazy_instance.h"
#include "base/logging.h"
+#include "base/memory/ptr_util.h"
#include "base/path_service.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_split.h"
@@ -127,7 +128,7 @@ bool RemoteTestServer::Start() {
if (!GenerateArguments(&arguments_dict))
return false;
- arguments_dict.Set("on-remote-server", base::Value::CreateNullValue());
+ arguments_dict.Set("on-remote-server", base::MakeUnique<base::Value>());
// Append the 'server-type' argument which is used by spawner server to
// pass right server type to Python test server.
« no previous file with comments | « net/test/spawned_test_server/base_test_server.cc ('k') | remoting/host/setup/me2me_native_messaging_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698