Backed out changeset fd5cb70c0286 (bug 1321412)
authorSebastian Hengst <archaeopteryx@coole-files.de>
Fri, 09 Dec 2016 22:26:37 +0100
changeset 325553 d112c18816637fdb5e23a70a96e4647bc5075f5f
parent 325552 0d0995d0991141bacce45733ad194a122af1da82
child 325554 d008de7ea68cde2e59be1fd78b09e655a8aa5d9e
push id24
push usermaklebus@msu.edu
push dateTue, 20 Dec 2016 03:11:33 +0000
bugs1321412
milestone53.0a1
backs outfd5cb70c0286e9792420f3a3506d160591d33058
Backed out changeset fd5cb70c0286 (bug 1321412)
layout/painting/nsDisplayList.cpp
--- a/layout/painting/nsDisplayList.cpp
+++ b/layout/painting/nsDisplayList.cpp
@@ -6287,16 +6287,19 @@ nsDisplayTransform::ShouldPrerenderTrans
   if (frameSize <= maxSize) {
     *aDirtyRect = overflow;
     return FullPrerender;
   } else if (gfxPrefs::PartiallyPrerenderAnimatedContent()) {
     *aDirtyRect = ComputePartialPrerenderArea(*aDirtyRect, overflow, maxSize);
     return PartialPrerender;
   }
 
+  nsRect visual = aFrame->GetVisualOverflowRect();
+
+
   EffectCompositor::SetPerformanceWarning(
     aFrame, eCSSProperty_transform,
     AnimationPerformanceWarning(
       AnimationPerformanceWarning::Type::ContentTooLarge,
       {
         nsPresContext::AppUnitsToIntCSSPixels(frameSize.width),
         nsPresContext::AppUnitsToIntCSSPixels(frameSize.height),
         nsPresContext::AppUnitsToIntCSSPixels(relativeLimit.width),