Print Preview: Clear callbacks map when JS disallowed
In normal print preview dialogs, the handler is destroyed with the web contents, but for the special case of chrome://print this does not occur, and old preview requests should be cleared in OnJavascriptDisallowed(). Bug: 853672 Change-Id: I5681680dc64fe020f389c6893d992694e8fcdb95 Reviewed-on: https://chromium-review.googlesource.com/1104877Reviewed-by:Demetrios Papadopoulos <dpapad@chromium.org> Commit-Queue: Rebekah Potter <rbpotter@chromium.org> Cr-Commit-Position: refs/heads/master@{#568121}
Showing
Please register or sign in to comment