Move AutoApplyAsyncTestAttributes into AsyncPanZoomController method implementations
Categories
(Core :: Panning and Zooming, enhancement, P3)
Tracking
()
People
(Reporter: botond, Assigned: botond)
References
Details
Attachments
(4 files)
We have an RAII helper class named AutoApplyAsyncTestAttributes
that's used to implement reftest-async-scroll
and reftest-async-zoom
by temporarily applying the specified async scroll and zoom in relevant places.
Currently, placing this class on the stack is the responsibility of the callers of AsyncPanZoomController
methods that query async transforms, such as AsyncCompositionManager
.
Such call sites have been proliferating with the containerless scrolling work (bug 1459312), and they're starting to feel a bit repetitive.
In this bug I'd like to explore moving the usage of this class inside the relevant AsyncPanZoomController
methods themselves.
I have a vague recollection of Kashav trying this when he introduced AutoApplyAsyncTestAttributes
and it not working, but I don't remember why, and in any case things my have changed and a fresh look doesn't hurt.
Assignee | ||
Comment 1•6 years ago
|
||
No one was using them.
Assignee | ||
Comment 2•6 years ago
|
||
This gives us more flexibility in where to use it, so we don't have to
worry about double application.
Depends on D24610
Assignee | ||
Comment 3•6 years ago
|
||
Depends on D24611
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 4•6 years ago
|
||
Now that it's an implementation detail of AsyncPanZoomController, it doesn't
need to live in APZUtils.h.
Depends on D24612
Comment 6•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/cc4ed5c152c0
https://hg.mozilla.org/mozilla-central/rev/d3071cbcf678
https://hg.mozilla.org/mozilla-central/rev/967a5709c655
https://hg.mozilla.org/mozilla-central/rev/d94e429f5760
Updated•6 years ago
|
Description
•