diff --git a/layout/painting/nsDisplayList.cpp b/layout/painting/nsDisplayList.cpp index a21349dc373c..dc9dfa54c611 100644 --- a/layout/painting/nsDisplayList.cpp +++ b/layout/painting/nsDisplayList.cpp @@ -6292,6 +6292,9 @@ nsDisplayTransform::ShouldPrerenderTransformedContent(nsDisplayListBuilder* aBui return PartialPrerender; } + nsRect visual = aFrame->GetVisualOverflowRect(); + + EffectCompositor::SetPerformanceWarning( aFrame, eCSSProperty_transform, AnimationPerformanceWarning(