Ensure the InstallCreateWebFrameWidgetHook is set for a short duration.
Since there are multiple WebViewHelpers running around setting the InstallCreateWebFrameWidgetHook for the entire duration of the object is problematic. Centralize widget creation on methods on WebViewHelper. Set the hook for the duration of the CreateFrameWidget call and that is all. This change collapses a lot of duplicate code into a method on the WebViewHelper. BUG=1097816 Change-Id: If17115ccafe724a365968e7fe299054809837644 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2585839 Commit-Queue: Dave Tapuska <dtapuska@chromium.org> Reviewed-by:Daniel Cheng <dcheng@chromium.org> Reviewed-by:
danakj <danakj@chromium.org> Cr-Commit-Position: refs/heads/master@{#836249}
Showing
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment