[PRImpl] Simplifies non-minimal UI complete() flow
Change: * For close() and closeUIAndDestroyNativeObjects() called together, remove closeUIAndDestroyNativeObjects() because close() already has it. * Move PR UI (non-minimal UI)'s complete handling (#onComplete in particular) out of closeUIAndDestroyNativeObjects(), because #onComplete is supposed to be called only in response to PR#complete(). Bug: 1102522 Change-Id: I68c1e7027219790f105fe5c46deee2168a2a674a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2404397 Commit-Queue: Liquan (Max) Gu <maxlg@chromium.org> Reviewed-by:Rouslan Solomakhin <rouslan@chromium.org> Cr-Commit-Position: refs/heads/master@{#806638}
Showing
Please register or sign in to comment