Followup to fix bustage because the two patches that I wrote don't like each other a=bustage

This commit is contained in:
Kyle Huey 2010-09-17 21:38:22 -04:00
parent 7d30976428
commit 80394bee14

View File

@ -354,8 +354,7 @@ nsHTMLCanvasElement::MozGetAsFileImpl(const nsAString& aName,
// The DOMFile takes ownership of the buffer
nsRefPtr<nsDOMMemoryFile> file =
new nsDOMMemoryFile((void*)imgData, imgSize, aName, type,
GetDocument());
new nsDOMMemoryFile((void*)imgData, imgSize, aName, type);
return CallQueryInterface(file, aResult);
}