Index: chrome/test/chromedriver/session_commands.cc |
diff --git a/chrome/test/chromedriver/session_commands.cc b/chrome/test/chromedriver/session_commands.cc |
index 64d9e97dc7f79c78889ab6fae712a056951e9a77..6104fac1bfa0b0a1b0456e994addf01f8b7118ed 100644 |
--- a/chrome/test/chromedriver/session_commands.cc |
+++ b/chrome/test/chromedriver/session_commands.cc |
@@ -151,7 +151,7 @@ Status CheckSessionCreated(Session* session) { |
return Status(kSessionNotCreatedException, status); |
base::ListValue args; |
- std::unique_ptr<base::Value> result(new base::FundamentalValue(0)); |
+ std::unique_ptr<base::Value> result(new base::Value(0)); |
status = web_view->CallFunction(session->GetCurrentFrameId(), |
"function(s) { return 1; }", args, &result); |
if (status.IsError()) |
@@ -497,7 +497,7 @@ Status ExecuteIsLoading(Session* session, |
session->GetCurrentFrameId(), nullptr, &is_pending); |
if (status.IsError()) |
return status; |
- value->reset(new base::FundamentalValue(is_pending)); |
+ value->reset(new base::Value(is_pending)); |
return Status(kOk); |
} |
@@ -532,7 +532,7 @@ Status ExecuteGetNetworkConnection(Session* session, |
int connection_type = 0; |
connection_type = desktop->GetNetworkConnection(); |
- value->reset(new base::FundamentalValue(connection_type)); |
+ value->reset(new base::Value(connection_type)); |
return Status(kOk); |
} |
@@ -814,7 +814,7 @@ Status ExecuteUploadFile(Session* session, |
Status ExecuteIsAutoReporting(Session* session, |
const base::DictionaryValue& params, |
std::unique_ptr<base::Value>* value) { |
- value->reset(new base::FundamentalValue(session->auto_reporting_enabled)); |
+ value->reset(new base::Value(session->auto_reporting_enabled)); |
return Status(kOk); |
} |