Index: components/web_resource/promo_resource_service_unittest.cc |
diff --git a/components/web_resource/promo_resource_service_unittest.cc b/components/web_resource/promo_resource_service_unittest.cc |
index f759273952bcde38e54a3d3eae176ed63d2b989a..4fe7a73d25c1d10ccb52c027cefe14ccb21557f2 100644 |
--- a/components/web_resource/promo_resource_service_unittest.cc |
+++ b/components/web_resource/promo_resource_service_unittest.cc |
@@ -85,7 +85,7 @@ class NotificationPromoTest : public testing::Test { |
std::string json_with_end_date( |
base::ReplaceStringPlaceholders(json, replacements, NULL)); |
- base::Value* value(base::JSONReader::DeprecatedRead(json_with_end_date)); |
+ base::Value* value(base::JSONReader::Read(json_with_end_date).release()); |
ASSERT_TRUE(value); |
base::DictionaryValue* dict = NULL; |