From 80394bee149fb4251229cd8f1b310593467d31e2 Mon Sep 17 00:00:00 2001 From: Kyle Huey Date: Fri, 17 Sep 2010 21:38:22 -0400 Subject: [PATCH] Followup to fix bustage because the two patches that I wrote don't like each other a=bustage --- content/html/content/src/nsHTMLCanvasElement.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/content/html/content/src/nsHTMLCanvasElement.cpp b/content/html/content/src/nsHTMLCanvasElement.cpp index 1d4a405297ea..f3aea5ad8f35 100644 --- a/content/html/content/src/nsHTMLCanvasElement.cpp +++ b/content/html/content/src/nsHTMLCanvasElement.cpp @@ -354,8 +354,7 @@ nsHTMLCanvasElement::MozGetAsFileImpl(const nsAString& aName, // The DOMFile takes ownership of the buffer nsRefPtr file = - new nsDOMMemoryFile((void*)imgData, imgSize, aName, type, - GetDocument()); + new nsDOMMemoryFile((void*)imgData, imgSize, aName, type); return CallQueryInterface(file, aResult); }