| 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 c9cce52b38f2a88327f2c0bbfdb97ffaa4fc778d..9febe2b742da5b6050fc08528c82ae93a60d21f1 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])",
|
|
|