Commit 19326f31 authored by Aaron Leventhal's avatar Aaron Leventhal Committed by Commit Bot

Fix check failure when toggling HTML in show ax tree

Bug: 903588
Change-Id: Ie33670e71e91ec992ea51fc8e1fa2a0416698a91
Reviewed-on: https://chromium-review.googlesource.com/c/1450233
Commit-Queue: Aaron Leventhal <aleventhal@chromium.org>
Commit-Queue: Nektarios Paisios <nektar@chromium.org>
Reviewed-by: default avatarNektarios Paisios <nektar@chromium.org>
Cr-Commit-Position: refs/heads/master@{#628438}
parent 5f978ae9
...@@ -326,6 +326,7 @@ void AccessibilityUIMessageHandler::ToggleAccessibility( ...@@ -326,6 +326,7 @@ void AccessibilityUIMessageHandler::ToggleAccessibility(
base::ListValue request_args; base::ListValue request_args;
request_args.Append(std::make_unique<base::Value>(process_id_str)); request_args.Append(std::make_unique<base::Value>(process_id_str));
request_args.Append(std::make_unique<base::Value>(route_id_str)); request_args.Append(std::make_unique<base::Value>(route_id_str));
request_args.Append(std::make_unique<base::Value>("showTree"));
RequestWebContentsTree(&request_args); RequestWebContentsTree(&request_args);
} else { } else {
// Call accessibility.showTree without a 'tree' field so the row's // Call accessibility.showTree without a 'tree' field so the row's
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment