| Index: chrome/test/chromedriver/chrome/web_view_impl.cc
|
| diff --git a/chrome/test/chromedriver/chrome/web_view_impl.cc b/chrome/test/chromedriver/chrome/web_view_impl.cc
|
| index c55d72256256000c31a2f3af083e772065a3b9d7..219427c8c83ce23a04401b608108025e0640cc6e 100644
|
| --- a/chrome/test/chromedriver/chrome/web_view_impl.cc
|
| +++ b/chrome/test/chromedriver/chrome/web_view_impl.cc
|
| @@ -11,6 +11,7 @@
|
| #include "base/files/file_path.h"
|
| #include "base/json/json_writer.h"
|
| #include "base/logging.h"
|
| +#include "base/memory/ptr_util.h"
|
| #include "base/strings/string_util.h"
|
| #include "base/strings/stringprintf.h"
|
| #include "base/threading/platform_thread.h"
|
| @@ -834,7 +835,7 @@ Status EvaluateScriptAndGetValue(DevToolsClient* client,
|
| return Status(kUnknownError, "Runtime.evaluate missing string 'type'");
|
|
|
| if (type == "undefined") {
|
| - *result = base::Value::CreateNullValue();
|
| + *result = base::MakeUnique<base::Value>();
|
| } else {
|
| base::Value* value;
|
| if (!temp_result->Get("value", &value))
|
|
|