CL https://codereview.chromium.org/2825343003 creates a new API, EnsureLifecycleValidForLocationAPIsForNode (possibly to be renamed as part of the ongoing CL), which is similar to UpdateStyleAndLayoutIgnorePendingStylesheetsForNode but also runs compositing inputs clean if necessary for sticky elements.
During the review of the CL, a concern was raised that we may have missed some call-sites where EnsureLifecycleValidForLocationAPIsForNode should be used instead of UpdateStyleAndLayoutIgnorePendingStylesheetsForNode (i.e. a callsite that requires the location to be valid).
Replacing all calls to UpdateStyleAndLayoutIgnorePendingStylesheetsForNode is not desirable as there is a performance impact to running compositing inputs clean, but we should audit the call-sites to try and spot any that rely on location information.
Comment 1 by f...@opera.com
, May 2 2017