Bug 1489630 - Mark AutoApplyAsyncTestAttributes as MOZ_RAII. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D5306
This commit is contained in:
@@ -979,7 +979,7 @@ AsyncCompositionManager::ApplyAsyncContentTransformToTree(Layer *aLayer,
|
||||
|
||||
// Apply any additional async scrolling for testing purposes (used
|
||||
// for reftest-async-scroll and reftest-async-zoom).
|
||||
auto _ = sampler->ApplyAsyncTestAttributes(wrapper);
|
||||
AutoApplyAsyncTestAttributes testAttributeApplier(wrapper.GetApzc());
|
||||
|
||||
const FrameMetrics& metrics = wrapper.Metrics();
|
||||
MOZ_ASSERT(metrics.IsScrollable());
|
||||
|
||||
Reference in New Issue
Block a user