Bug 843895 (Followup) - Use a dummy variable in FrozenImage::GetAnimated. r=me
authorSeth Fowler <seth@mozilla.com>
Tue, 12 Mar 2013 13:42:09 -0700
changeset 124564 d64d4a7cf0ea098d70b547f2d10d0faf6199fa27
parent 124563 37dce17133d904ac9e1c316442d80d3a87163e96
child 124565 948da26ff5a0aedb99bdee30353f6c8432c5e7e7
push id24427
push useremorley@mozilla.com
push dateWed, 13 Mar 2013 12:28:55 +0000
treeherdermozilla-central@072b936973fe [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs843895
milestone22.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 843895 (Followup) - Use a dummy variable in FrozenImage::GetAnimated. r=me
image/src/FrozenImage.cpp
--- a/image/src/FrozenImage.cpp
+++ b/image/src/FrozenImage.cpp
@@ -27,17 +27,18 @@ void
 FrozenImage::DecrementAnimationConsumers()
 {
   // Do nothing.
 }
 
 NS_IMETHODIMP
 FrozenImage::GetAnimated(bool* aAnimated)
 {
-  nsresult rv = InnerImage()->GetAnimated(aAnimated);
+  bool dummy;
+  nsresult rv = InnerImage()->GetAnimated(&dummy);
   if (NS_SUCCEEDED(rv)) {
     *aAnimated = false;
   }
   return rv;
 }
 
 NS_IMETHODIMP
 FrozenImage::GetFrame(uint32_t aWhichFrame,