commit | a15d7535017f58556cb996cb75328512d91efe5d | [log] [tgz] |
---|---|---|
author | James Cook <jamescook@chromium.org> | Fri Dec 07 01:02:42 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Dec 07 01:02:42 2018 |
tree | 1ae7168d887e10ca336a9da025eb53366dc8c8b6 | |
parent | 9de2c414af3dcffebb07593f33da6d4a0815301a [diff] |
Fix double-parenting in AXWindowObjWrapper under mash Under mus/mash both the WindowTreeHost's root aura::Window and the content aura::Window will return the same Widget for GetWidgetForNativeView(). Only return the Widget for the content window, not the root, since otherwise we'll end up with two children in the AX node tree that have the same parent. This allows AXAuraWindowUtilsTest to run under views_mus_unittests and unblocks some future tests. Bug: 911945, 911776 Test: views_unittests, views_mus_unittests Change-Id: I554c77e0dca90f1901a42d3331bca0a05e7bbd88 Reviewed-on: https://chromium-review.googlesource.com/c/1365986 Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org> Commit-Queue: James Cook <jamescook@chromium.org> Cr-Commit-Position: refs/heads/master@{#614515}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .