summaryrefslogtreecommitdiff
path: root/chromium/components/dom_distiller/core/page_features_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/components/dom_distiller/core/page_features_unittest.cc')
-rw-r--r--chromium/components/dom_distiller/core/page_features_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/components/dom_distiller/core/page_features_unittest.cc b/chromium/components/dom_distiller/core/page_features_unittest.cc
index 6d0bea34b80..0bfeb142d69 100644
--- a/chromium/components/dom_distiller/core/page_features_unittest.cc
+++ b/chromium/components/dom_distiller/core/page_features_unittest.cc
@@ -75,7 +75,7 @@ TEST(DomDistillerPageFeaturesTest, TestCalculateDerivedFeatures) {
std::string stringified_json;
ASSERT_TRUE(base::JSONWriter::Write(*core_features, &stringified_json));
std::unique_ptr<base::Value> stringified_value(
- new base::StringValue(stringified_json));
+ new base::Value(stringified_json));
std::vector<double> derived(
CalculateDerivedFeaturesFromJSON(stringified_value.get()));