Fix accessibilityController.rootElement
commitad030778e127da5bee8733ebf1c6b9ba0303550e
authordmazzoni <dmazzoni@chromium.org>
Sat, 18 Apr 2015 23:59:15 +0000 (18 16:59 -0700)
committerCommit bot <commit-bot@chromium.org>
Sat, 18 Apr 2015 23:59:45 +0000 (18 23:59 +0000)
tree974a08c6005cef4f28a897abfb87752af117e2b9
parent790be872f460ead8d7ca21c490077dab0a6d21ac
Fix accessibilityController.rootElement

There was no need for a special case for the root, and it was buggy. Treat
the root just like any other element.

BUG=478307

Review URL: https://codereview.chromium.org/1098623005

Cr-Commit-Position: refs/heads/master@{#325794}
content/shell/renderer/test_runner/accessibility_controller.cc
content/shell/renderer/test_runner/web_ax_object_proxy.cc
content/shell/renderer/test_runner/web_ax_object_proxy.h