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

Unified Diff: base/metrics/statistics_recorder_unittest.cc

Issue 1180693002: Update from https://crrev.com/333737 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebased Created 5 years, 6 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
« no previous file with comments | « base/metrics/statistics_recorder.cc ('k') | base/numerics/safe_conversions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/metrics/statistics_recorder_unittest.cc
diff --git a/base/metrics/statistics_recorder_unittest.cc b/base/metrics/statistics_recorder_unittest.cc
index e653bf30dfecb05c5a8eb4386d2f71462a8a6635..d26df6901bad53d83ae06477cd5be557a3222d73 100644
--- a/base/metrics/statistics_recorder_unittest.cc
+++ b/base/metrics/statistics_recorder_unittest.cc
@@ -262,7 +262,7 @@ TEST_F(StatisticsRecorderTest, ToJSON) {
// Check for valid JSON.
scoped_ptr<Value> root;
- root.reset(JSONReader::Read(json));
+ root.reset(JSONReader::DeprecatedRead(json));
ASSERT_TRUE(root.get());
DictionaryValue* root_dict = NULL;
@@ -287,7 +287,7 @@ TEST_F(StatisticsRecorderTest, ToJSON) {
std::string query("TestHistogram2");
json = StatisticsRecorder::ToJSON(query);
- root.reset(JSONReader::Read(json));
+ root.reset(JSONReader::DeprecatedRead(json));
ASSERT_TRUE(root.get());
ASSERT_TRUE(root->GetAsDictionary(&root_dict));
« no previous file with comments | « base/metrics/statistics_recorder.cc ('k') | base/numerics/safe_conversions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698