Reland overlay-interstitial-ad detection, switching to HitTestNoLifecycleUpdate
What: This relands http://crrev/c/1993140 that was reverted in http://crrev/c/2035374. The diff: in OverlayInterstitialAdDetector::MaybeFireDetection, switch to main_frame->ContentLayoutObject()->HitTestNoLifecycleUpdate for the hit test. Why: We don't need LocalFrameView::UpdateAllLifecyclePhasesExceptPaint as we don't need to recurse into child document. Forcing the update would change the document lifecycle state, that would break the test expectations of FrameThrottlingTest.ThrottledLifecycleUpdate and would introduce flakes for AccessibilityActionBrowserTest.ImgElementGetImage. Bug: 1047921 Change-Id: Ic99420e125788d446bb11202848634ddc6e07841 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2034054 Commit-Queue: Yao Xiao <yaoxia@chromium.org> Reviewed-by:Stefan Zager <szager@chromium.org> Reviewed-by:
Bryan McQuade <bmcquade@chromium.org> Cr-Commit-Position: refs/heads/master@{#738382}
Showing
Please register or sign in to comment