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
Родитель 7d30976428
Коммит 80394bee14
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -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);
}