Remove redundant checks in freezing/pausing context.
Check IsAttached() in places where JS events fire. Some GetDocument() checks become redundant since we can't have a null document on an attached frame. BUG=907125 Change-Id: Ia34a65fb71cbd7da16664880998f9054e7fbc726 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1801735 Commit-Queue: Dave Tapuska <dtapuska@chromium.org> Reviewed-by:Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#697223}
Showing
Please register or sign in to comment