Bug 1321412 - Follow-up to remove an unused variable. r=bustage on a CLOSED TREE
☠☠ backed out by d112c1881663 ☠ ☠
authorBotond Ballo <botond@mozilla.com>
Fri, 09 Dec 2016 15:05:52 -0500
changeset 325550 fd5cb70c0286e9792420f3a3506d160591d33058
parent 325549 a8e8ba250d6218fbc9a5aa6cb63b263bb0ab5d32
child 325551 9dfd492a1bf78aec2de87c7f2f5eba9d237c351f
push id24
push usermaklebus@msu.edu
push dateTue, 20 Dec 2016 03:11:33 +0000
reviewersbustage
bugs1321412
milestone53.0a1
Bug 1321412 - Follow-up to remove an unused variable. r=bustage on a CLOSED TREE MozReview-Commit-ID: 3fCQyMFrajX
layout/painting/nsDisplayList.cpp
--- a/layout/painting/nsDisplayList.cpp
+++ b/layout/painting/nsDisplayList.cpp
@@ -6287,19 +6287,16 @@ 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),