Bug 1224207 - (followup) remove an unused local var. r=me
authorcku <cku@mozilla.com>
Thu, 23 Feb 2017 17:08:17 +0800
changeset 373601 16b2f55f7e9b994117d13ea66d4fec0cc38d7d9f
parent 373498 5f9faa310d3fdc464fd749a3f6d3b473baf1f5f4
child 373602 dd6f04636eaa5d08570d19221885c693d4a7f713
push id10863
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 23:02:23 +0000
treeherdermozilla-aurora@0931190cd725 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1224207
milestone54.0a1
Bug 1224207 - (followup) remove an unused local var. r=me MozReview-Commit-ID: B7MJkHS1S88
layout/svg/nsFilterInstance.cpp
--- a/layout/svg/nsFilterInstance.cpp
+++ b/layout/svg/nsFilterInstance.cpp
@@ -259,31 +259,31 @@ nsFilterInstance::ComputeTargetBBoxInFil
   }
 
   return true;
 }
 
 bool
 nsFilterInstance::ComputeUserSpaceToFilterSpaceScale()
 {
-  gfxMatrix canvasTransform;
   if (mTargetFrame) {
     mUserSpaceToFilterSpaceScale = mPaintTransform.ScaleFactors(true);
     if (mUserSpaceToFilterSpaceScale.width <= 0.0f ||
         mUserSpaceToFilterSpaceScale.height <= 0.0f) {
       // Nothing should be rendered.
       return false;
     }
   } else {
     mUserSpaceToFilterSpaceScale = gfxSize(1.0, 1.0);
   }
 
   mFilterSpaceToUserSpaceScale =
     gfxSize(1.0f / mUserSpaceToFilterSpaceScale.width,
             1.0f / mUserSpaceToFilterSpaceScale.height);
+
   return true;
 }
 
 gfxRect
 nsFilterInstance::UserSpaceToFilterSpace(const gfxRect& aUserSpaceRect) const
 {
   gfxRect filterSpaceRect = aUserSpaceRect;
   filterSpaceRect.Scale(mUserSpaceToFilterSpaceScale.width,