Bug 648610: Followup for build bustage.
authorKyle Huey <khuey@kylehuey.com>
Mon, 15 Oct 2012 14:57:40 -0700
changeset 110340 30395df97c29
parent 110339 eca899430f0c
child 110341 c118efe23e9e
push id23680
push useremorley@mozilla.com
push dateTue, 16 Oct 2012 08:09:24 +0000
treeherdermozilla-central@8f145599e4bf [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs648610
milestone19.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 648610: Followup for build bustage.
content/html/content/src/nsHTMLCanvasElement.cpp
--- a/content/html/content/src/nsHTMLCanvasElement.cpp
+++ b/content/html/content/src/nsHTMLCanvasElement.cpp
@@ -592,18 +592,17 @@ nsHTMLCanvasElement::ToBlob(nsIFileCallb
   nsresult rv = nsContentUtils::ASCIIToLower(aType, type);
   if (NS_FAILED(rv)) {
     return rv;
   }
 
   bool fallbackToPNG = false;
 
   nsCOMPtr<nsIInputStream> stream;
-  nsresult rv = ExtractData(type, EmptyString(), getter_AddRefs(stream),
-                            fallbackToPNG);
+  rv = ExtractData(type, EmptyString(), getter_AddRefs(stream), fallbackToPNG);
   NS_ENSURE_SUCCESS(rv, rv);
 
   if (fallbackToPNG) {
     type.AssignLiteral("image/png");
   }
 
   uint64_t imgSize;
   rv = stream->Available(&imgSize);