gecko-dev/gfx/layers/apz
Botond Ballo 2641cbd682 Bug 1577859 - Additional post container scrolling removal cleanup in APZ code. r=tnikkel
With container scrolling, layers that are fixed wrt. the RCD-RSF are no
longer descendants of layers with RCD-RSF metadata. This allows us to remove
some code that handles this case in AsyncCompositionManager.

In particular, when ApplyAsyncContentTransformToTree() calls
AlignFixedAndStickyLayers():

  - If we are currently processing a layer with RCD-RSF metadata,
    AlignFixedAndStickyLayers() will not do anything (because there will be
    no descendants fixed wrt. the RCD-RSF), so it doesn't matter what
    transform we pass to AlignFixedAndStickyLayers().

  - If we are processing a different layer, then Metrics().IsRootContent()
    will be false, so GetCurrentAsyncTransformForFixedAdjustment()
    simplifies to just GetCurrentAsyncTransform().

As a result, GetCurrentAsyncTransformForFixedAdjustment() (and its helper
GetCurrentAsyncViewportTransform()) can be removed, and its use replaced
with GetCurrentAsyncTransform().

Differential Revision: https://phabricator.services.mozilla.com/D45595

--HG--
extra : moz-landing-system : lando
2019-09-15 23:34:13 +00:00
..
public Bug 1577859 - Additional post container scrolling removal cleanup in APZ code. r=tnikkel 2019-09-15 23:34:13 +00:00
src Bug 1577859 - Additional post container scrolling removal cleanup in APZ code. r=tnikkel 2019-09-15 23:34:13 +00:00
test Bug 1581113 - Explicitly set dom.animations-api.timelines.enabled in browser_test_group_fission.js. r=boris 2019-09-15 18:32:08 +00:00
testutil Bug 1563139 - Remove StaticPrefs.h. r=glandium 2019-07-26 01:10:23 +00:00
util Bug 1578173 part 6. Remove remaining uses of [Constructor] from bindings. r=edgar 2019-09-12 11:01:17 +00:00