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

Unified Diff: chrome/common/json_value_serializer_perftest.cc

Issue 13169: Add error messages to JSONReader and friends. This required a bit of refactor... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years 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: chrome/common/json_value_serializer_perftest.cc
===================================================================
--- chrome/common/json_value_serializer_perftest.cc (revision 6390)
+++ chrome/common/json_value_serializer_perftest.cc (working copy)
@@ -54,7 +54,7 @@
for (size_t j = 0; j < test_cases_.size(); ++j) {
Value* root = NULL;
JSONStringValueSerializer reader(test_cases_[j]);
- ASSERT_TRUE(reader.Deserialize(&root));
+ ASSERT_TRUE(reader.Deserialize(&root, NULL));
delete root;
}
}
@@ -69,7 +69,7 @@
for (size_t i = 0; i < test_cases_.size(); ++i) {
Value* root = NULL;
JSONStringValueSerializer reader(test_cases_[i]);
- ASSERT_TRUE(reader.Deserialize(&root));
+ ASSERT_TRUE(reader.Deserialize(&root, NULL));
test_cases.push_back(root);
}

Powered by Google App Engine
This is Rietveld 408576698