| Index: chrome/test/chromedriver/chrome/web_view_impl.cc
|
| diff --git a/chrome/test/chromedriver/chrome/web_view_impl.cc b/chrome/test/chromedriver/chrome/web_view_impl.cc
|
| index 16e3df16b0d934e8f9b7353c85249bf8fa729b6f..37123cb6a985eb3e32d0fa36357f39095b7bec89 100644
|
| --- a/chrome/test/chromedriver/chrome/web_view_impl.cc
|
| +++ b/chrome/test/chromedriver/chrome/web_view_impl.cc
|
| @@ -237,7 +237,7 @@ Status WebViewImpl::CallFunction(const std::string& frame,
|
| const base::ListValue& args,
|
| scoped_ptr<base::Value>* result) {
|
| std::string json;
|
| - base::JSONWriter::Write(&args, &json);
|
| + base::JSONWriter::Write(args, &json);
|
| // TODO(zachconrad): Second null should be array of shadow host ids.
|
| std::string expression = base::StringPrintf(
|
| "(%s).apply(null, [null, %s, %s])",
|
| @@ -763,7 +763,7 @@ Status GetNodeIdFromFunction(DevToolsClient* client,
|
| bool* found_node,
|
| int* node_id) {
|
| std::string json;
|
| - base::JSONWriter::Write(&args, &json);
|
| + base::JSONWriter::Write(args, &json);
|
| // TODO(zachconrad): Second null should be array of shadow host ids.
|
| std::string expression = base::StringPrintf(
|
| "(%s).apply(null, [null, %s, %s, true])",
|
|
|