зеркало из https://github.com/mozilla/pjs.git
Followup to fix bustage because the two patches that I wrote don't like each other a=bustage
This commit is contained in:
Родитель
f43d91656c
Коммит
4a231b1b19
|
@ -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);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче