Bug 815593 - Remove unused variable. r=bustage
authorMatt Woodrow <mwoodrow@mozilla.com>
Thu, 29 Nov 2012 19:01:48 +1300
changeset 123564 445dc074e609870fb32bb5da2263be63e35da659
parent 123563 7a41fb508d8923279e528c9b7f2dc88f362cb6b2
child 123565 aaf7922f91e3cadbc4a236942934eed52955e795
push id2151
push userlsblakk@mozilla.com
push dateTue, 19 Feb 2013 18:06:57 +0000
treeherdermozilla-beta@4952e88741ec [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs815593
milestone20.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 815593 - Remove unused variable. r=bustage
layout/generic/nsImageFrame.cpp
--- a/layout/generic/nsImageFrame.cpp
+++ b/layout/generic/nsImageFrame.cpp
@@ -1283,17 +1283,17 @@ nsDisplayImage::GetLayerState(nsDisplayL
   }
 
   // If the target size is pretty small, no point in using a layer.
   if (destRect.width * destRect.height < 64 * 64) {
     return LAYER_NONE;
   }
 
   nsRefPtr<ImageContainer> container;
-  nsresult rv = mImage->GetImageContainer(aManager, getter_AddRefs(container));
+  mImage->GetImageContainer(aManager, getter_AddRefs(container));
   if (!container) {
     return LAYER_NONE;
   }
 
   return LAYER_ACTIVE;
 }
 
 already_AddRefed<Layer>