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

Unified Diff: chrome/test/automation/javascript_execution_controller.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/test/automation/javascript_execution_controller.cc
diff --git a/chrome/test/automation/javascript_execution_controller.cc b/chrome/test/automation/javascript_execution_controller.cc
index 26d32d082a1d1a3def92a56d00083fa212d269fd..3cd0753c95af9e279eb7da503d82266f82ad2875 100644
--- a/chrome/test/automation/javascript_execution_controller.cc
+++ b/chrome/test/automation/javascript_execution_controller.cc
@@ -72,7 +72,7 @@ bool JavaScriptExecutionController::ParseJSON(const std::string& json,
scoped_ptr<Value>* result) {
JSONStringValueSerializer parse(json);
std::string parsing_error;
- scoped_ptr<Value> root_value(parse.Deserialize(&parsing_error));
+ scoped_ptr<Value> root_value(parse.Deserialize(NULL, &parsing_error));
if (!root_value.get()) {
if (parsing_error.length())
« no previous file with comments | « chrome/renderer/extensions/extension_api_json_validity_unittest.cc ('k') | chrome/test/automation/tab_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698