Always dispatch onafterprint event in PrintFrameContent().
In the rare case where the renderer cannot send its data, it exits early from PrintFrameContent() and forgets to send the onafterprint event. Fix the code to always send the event when possible. Change-Id: I31cf4fec8f17fcd64742d22056c0c445b422c7a4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2340356Reviewed-by:Wei Li <weili@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/master@{#796024}
Showing
Please register or sign in to comment