| Index: chrome/test/webdriver/commands/chrome_commands.cc
|
| diff --git a/chrome/test/webdriver/commands/chrome_commands.cc b/chrome/test/webdriver/commands/chrome_commands.cc
|
| index dca46ae39feaf64b96327fa700293f01f8802749..27a84f55f15022ab43db99dafb95d405eee6c0d3 100644
|
| --- a/chrome/test/webdriver/commands/chrome_commands.cc
|
| +++ b/chrome/test/webdriver/commands/chrome_commands.cc
|
| @@ -246,7 +246,7 @@ void ViewsCommand::ExecuteGet(Response* const response) {
|
| for (size_t i = 0; i < views.size(); ++i) {
|
| DictionaryValue* dict = new DictionaryValue();
|
| AutomationId id = views[i].view_id.GetId();
|
| - dict->SetString("handle", JsonStringify(id.ToValue()));
|
| + dict->SetString("handle", WebViewIdToString(WebViewId::ForView(id)));
|
| dict->SetInteger("type", id.type());
|
| if (!views[i].extension_id.empty())
|
| dict->SetString("extension_id", views[i].extension_id);
|
|
|