Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated TestChildModalParent to use AddedToWidget()
Removed the use of ViewHierarchyChanged() to update native view properties when added to a view hierarchy. Changed to use AddedToWidget() instead. Currently the logic in ViewHierarchyChanged() requires the view be in a Widget hierarchy. This should not be assumed in ViewHierarchyChanged(). Instead, having the logic in AddedToWidget() helps to make the assumptions more clear. Bug: 1083822 Change-Id: Ia393fd0141a863212e5c9e30e364fbc4d2b2d7d1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2206215 Reviewed-by: Robert Flack <[email protected]> Commit-Queue: Thomas Lukaszewicz <[email protected]> Cr-Commit-Position: refs/heads/master@{#771036}
- Loading branch information