Removed set_owned_by_client() from SimpleWebViewDialog
Prior to this patch |web_view_| was owned by the |web_view_container_| data member of the SimpleWebViewDialog class. This patch has |web_view_container_| own the |web_view_| up until it is added as a child to the SimpleWebViewDialog, at which point the web dialog asserts ownership of the |web_view_|. This eliminates the use of set_owned_by_client() which the Views team is in the process of deprecating. Bug: 1044687 Change-Id: I5bfc0f7f212d039b79565fa7b44298ea5dde8dbc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2199875Reviewed-by:Alexander Alekseev <alemate@chromium.org> Commit-Queue: Thomas Lukaszewicz <tluk@chromium.org> Cr-Commit-Position: refs/heads/master@{#770656}
Showing
Please register or sign in to comment