Bug 648610: Followup for build bustage.
authorKyle Huey <khuey@kylehuey.com>
Mon, 15 Oct 2012 14:57:40 -0700
changeset 110472 30395df97c299862779304309ba1cf8014d5731c
parent 110471 eca899430f0c403771643d5e31e2a2ce2b938555
child 110473 c118efe23e9e02292ed233c717ae3ebdab6fa427
push id93
push usernmatsakis@mozilla.com
push dateWed, 31 Oct 2012 21:26:57 +0000
bugs648610
milestone19.0a1
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);