Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(231)

Unified Diff: components/dom_distiller/core/page_features_unittest.cc

Issue 1323923002: Remove use of JSONReader::DeprecatedRead from components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Error fix Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/dom_distiller/core/page_features_unittest.cc
diff --git a/components/dom_distiller/core/page_features_unittest.cc b/components/dom_distiller/core/page_features_unittest.cc
index 3fe594fe6bb6fbe9f275cc179ec634ce857bb057..8e259e4382bb39a998cfe82e692d03233792c1c6 100644
--- a/components/dom_distiller/core/page_features_unittest.cc
+++ b/components/dom_distiller/core/page_features_unittest.cc
@@ -38,8 +38,8 @@ TEST(DomDistillerPageFeaturesTest, TestCalculateDerivedFeatures) {
scoped_ptr<base::Value> input_json = base::JSONReader::Read(input_data);
ASSERT_TRUE(input_json);
- scoped_ptr<base::Value> expected_output_json(
- base::JSONReader::DeprecatedRead(expected_output_data));
+ scoped_ptr<base::Value> expected_output_json =
+ base::JSONReader::Read(expected_output_data);
ASSERT_TRUE(expected_output_json);
base::ListValue* input_entries;

Powered by Google App Engine
This is Rietveld 408576698