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

Unified Diff: chrome/renderer/extensions/extension_api_json_validity_unittest.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
Index: chrome/renderer/extensions/extension_api_json_validity_unittest.cc
diff --git a/chrome/renderer/extensions/extension_api_json_validity_unittest.cc b/chrome/renderer/extensions/extension_api_json_validity_unittest.cc
index 7a54d77807fc6a0a291125cc35633fc2e301c863..eb7f1999cbcc855818475e44e324332390995646 100644
--- a/chrome/renderer/extensions/extension_api_json_validity_unittest.cc
+++ b/chrome/renderer/extensions/extension_api_json_validity_unittest.cc
@@ -92,7 +92,7 @@ TEST_F(ExtensionApiJsonValidityTest, Basic) {
// Check that extension_api.json can be parsed as JSON.
JSONFileValueSerializer serializer(extension_api_json);
- scoped_ptr<Value> root(serializer.Deserialize(&error_message));
+ scoped_ptr<Value> root(serializer.Deserialize(NULL, &error_message));
ASSERT_TRUE(root.get()) << error_message;
ASSERT_EQ(Value::TYPE_LIST, root->GetType());
ListValue* root_list = static_cast<ListValue*>(root.get());
« no previous file with comments | « chrome/installer/util/master_preferences.cc ('k') | chrome/test/automation/javascript_execution_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698