Remove DCHECK for ScrollTree containment in ScrollTimeline::CurrentTime
The original assertion that if a ScrollTimeline had a non-null scroller id (either pending or active) then said id would be in the ScrollTree was actually false. There are cases where the ScrollTimeline can have a scroller id, but the scrolling element would not be in the ScrollTree - for example a composited overflow: visible element would meet this criteria. As such, this CL converts the DCHECK into an early-exit for this case. Bug: 853231 Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;master.tryserver.blink:linux_trusty_blink_rel Change-Id: I0ca14a8e8f516357ee9814388514ba2f72fdfd47 Reviewed-on: https://chromium-review.googlesource.com/1133317 Commit-Queue: Stephen McGruer <smcgruer@chromium.org> Reviewed-by:Majid Valipour <majidvp@chromium.org> Cr-Commit-Position: refs/heads/master@{#574284}
Showing
Please register or sign in to comment