| Index: components/dom_distiller/core/page_features.cc
|
| diff --git a/components/dom_distiller/core/page_features.cc b/components/dom_distiller/core/page_features.cc
|
| index e28cf01c45090a2c8bd67eb6fab7a196fd412bcc..a222bd3f2d6bd395640fbb018a01d5b7cba39ddf 100644
|
| --- a/components/dom_distiller/core/page_features.cc
|
| +++ b/components/dom_distiller/core/page_features.cc
|
| @@ -6,10 +6,10 @@
|
|
|
| #include <stddef.h>
|
|
|
| +#include <memory>
|
| #include <string>
|
|
|
| #include "base/json/json_reader.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "third_party/re2/src/re2/re2.h"
|
| #include "url/gurl.h"
|
|
|
| @@ -152,7 +152,7 @@ std::vector<double> CalculateDerivedFeaturesFromJSON(
|
| return std::vector<double>();
|
| }
|
|
|
| - scoped_ptr<base::Value> json = base::JSONReader::Read(stringified);
|
| + std::unique_ptr<base::Value> json = base::JSONReader::Read(stringified);
|
| if (!json) {
|
| return std::vector<double>();
|
| }
|
|
|