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:13:23 +0000 |
commit | 758506bacb1e69b6e72ede7de9bf9adc2d780fb0 (patch) | |
tree | 51a3ba915e8371caec80cffaba1ace7184cc9d68 /ash/gpu_support_stub.cc | |
parent | d4bd6176fdbfef9c181a07148544ba8451015462 (diff) | |
download | chromium_src-758506bacb1e69b6e72ede7de9bf9adc2d780fb0.zip chromium_src-758506bacb1e69b6e72ede7de9bf9adc2d780fb0.tar.gz chromium_src-758506bacb1e69b6e72ede7de9bf9adc2d780fb0.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
Cr-Commit-Position: refs/heads/master@{#289489}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289489 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/gpu_support_stub.cc')
0 files changed, 0 insertions, 0 deletions