Index: net/test/spawned_test_server/spawner_communicator.cc |
diff --git a/net/test/spawned_test_server/spawner_communicator.cc b/net/test/spawned_test_server/spawner_communicator.cc |
index 3a1566db4cfd4928b727e83711ece46de357dffb..0f294a3c004f6ba142615cc0112f59f10df59b4c 100644 |
--- a/net/test/spawned_test_server/spawner_communicator.cc |
+++ b/net/test/spawned_test_server/spawner_communicator.cc |
@@ -355,7 +355,7 @@ bool SpawnerCommunicator::StartServer(const std::string& arguments, |
// Check whether the data returned from spawner server is JSON-formatted. |
std::unique_ptr<base::Value> value = |
base::JSONReader::Read(server_return_data); |
- if (!value.get() || !value->IsType(base::Value::TYPE_DICTIONARY)) { |
+ if (!value.get() || !value->IsType(base::Value::Type::DICTIONARY)) { |
LOG(ERROR) << "Invalid server data: " << server_return_data.c_str(); |
return false; |
} |