Skip to content
Commit 324897d7 authored by skyostil's avatar skyostil Committed by Commit bot
Browse files

Make render pipeline throttling opt-in

Previously render pipeline throttling was allowed by default, and
subsystems which did not want throttling to happen needed to use
DocumentLifecycle::PreventThrottlingScope to turn it off. This was
error-prone and dangerous since it meant callers might see out-of-date
layout and style information unless they knew to opt out.

This patch flips the default to be that throttling is disallowed unless
DocumentLifecycle::AllowThrottlingScope is used to turn it on. We now
explicitly enable throttling for animations, lifecycle updates and hit
testing.

BUG=487937

Review URL: https://codereview.chromium.org/1696233002

Cr-Commit-Position: refs/heads/master@{#376024}
parent 904b45f3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment