diff options
author | dmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-14 08:11:12 +0000 |
---|---|---|
committer | dmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-14 08:11:12 +0000 |
commit | c4931267c536b14f030fbd1636fb67b4b40b5e6d (patch) | |
tree | 51a3ba915e8371caec80cffaba1ace7184cc9d68 /chrome/browser/chromeos/input_method/input_method_manager_impl.h | |
parent | d4944ce50da6d37e1af68d90b3a3e3ef6566c712 (diff) | |
download | chromium_src-c4931267c536b14f030fbd1636fb67b4b40b5e6d.zip chromium_src-c4931267c536b14f030fbd1636fb67b4b40b5e6d.tar.gz chromium_src-c4931267c536b14f030fbd1636fb67b4b40b5e6d.tar.bz2 |
Ensure there's no layout pending before accessing WebAXObject from TestRunner.
It's not safe to call WebAXObject functions when there's a layout pending.
Chrome never does this, it only calls WebAXObject from
renderer_accessibility_complete, and it makes sure to update layout before
accessing the accessibility tree.
TestRunner didn't have the same protections, so this just explicitly updates
the layout before any accessibility call.
BUG=393829
Review URL: https://codereview.chromium.org/469803003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289489 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/input_method/input_method_manager_impl.h')
0 files changed, 0 insertions, 0 deletions