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

Unified Diff: chrome/common/json_value_serializer_perftest.cc

Issue 1120006: detect preferences errors (Closed)
Patch Set: changes from review Created 10 years, 9 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 | « chrome/common/json_value_serializer.cc ('k') | chrome/common/json_value_serializer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/json_value_serializer_perftest.cc
diff --git a/chrome/common/json_value_serializer_perftest.cc b/chrome/common/json_value_serializer_perftest.cc
index 00322601c3792374b27d4e84eadc7cd769527270..504ddb2a9b34b47d006faf3a3dd21ef6ad83a3b9 100644
--- a/chrome/common/json_value_serializer_perftest.cc
+++ b/chrome/common/json_value_serializer_perftest.cc
@@ -53,7 +53,7 @@ TEST_F(JSONValueSerializerTests, Reading) {
for (int i = 0; i < kIterations; ++i) {
for (size_t j = 0; j < test_cases_.size(); ++j) {
JSONStringValueSerializer reader(test_cases_[j]);
- scoped_ptr<Value> root(reader.Deserialize(NULL));
+ scoped_ptr<Value> root(reader.Deserialize(NULL, NULL));
ASSERT_TRUE(root.get());
}
}
@@ -67,7 +67,7 @@ TEST_F(JSONValueSerializerTests, CompactWriting) {
std::vector<Value*> test_cases;
for (size_t i = 0; i < test_cases_.size(); ++i) {
JSONStringValueSerializer reader(test_cases_[i]);
- Value* root = reader.Deserialize(NULL);
+ Value* root = reader.Deserialize(NULL, NULL);
ASSERT_TRUE(root);
test_cases.push_back(root);
}
« no previous file with comments | « chrome/common/json_value_serializer.cc ('k') | chrome/common/json_value_serializer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698