Use outermost WebContents to get right view type.
Since we can have more than one nested WebContents, we should make sure to get the outermost WebContents when initializing a popup window. Bug: 1002598 Change-Id: I568d31813e46af441760ef22afb9d3e4ae4c65ce Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1819559 Commit-Queue: James MacLean <wjmaclean@chromium.org> Reviewed-by:Alex Moshchuk <alexmos@chromium.org> Cr-Commit-Position: refs/heads/master@{#700811}
Showing
Please register or sign in to comment