MacPWAs: Fix part of fullscreen-exit hang
NativeWidgetMac::CloseNow expects that the callbacks for window closure will happen before the function exits. For out-of-process windows, this will not be the case (and the callbacks will never be made because the host interface will have been destroyed). In out-of-process mode, add explicit calls to these callbacks. This matches the behavior BridgedNativeWidgetHostImpl's OnBridgeFactoryHostDestroying (which has the same problem where the window destroy callbacks won't come in). Bug: 915572 Change-Id: Ie65dfef1a7e483364ee95df2e52083c777523a61 Reviewed-on: https://chromium-review.googlesource.com/c/1388722 Commit-Queue: ccameron <ccameron@chromium.org> Reviewed-by:Sidney San Martín <sdy@chromium.org> Cr-Commit-Position: refs/heads/master@{#618682}
Showing
Please register or sign in to comment