Index: chrome/test/chromedriver/commands_unittest.cc |
diff --git a/chrome/test/chromedriver/commands_unittest.cc b/chrome/test/chromedriver/commands_unittest.cc |
index 6e228614e8c76be73b19d1403d4c1838129ccbbc..488bc45cf988b1fa228cdf016b2047e9e814cb25 100644 |
--- a/chrome/test/chromedriver/commands_unittest.cc |
+++ b/chrome/test/chromedriver/commands_unittest.cc |
@@ -372,7 +372,7 @@ class FindElementWebView : public StubWebView { |
} |
case kElementNotExistsQueryOnce: { |
if (only_one_) |
- result_ = base::Value::CreateNullValue(); |
+ result_ = base::MakeUnique<base::Value>(); |
else |
result_.reset(new base::ListValue()); |
break; |
@@ -407,7 +407,7 @@ class FindElementWebView : public StubWebView { |
(scenario_ == kElementExistsQueryTwice && current_count_ == 1)) { |
// Always return empty result when testing timeout. |
if (only_one_) |
- *result = base::Value::CreateNullValue(); |
+ *result = base::MakeUnique<base::Value>(); |
else |
result->reset(new base::ListValue()); |
} else { |