Backed out changeset 999aa7b6683d (bug 1352559)

This commit is contained in:
Sebastian Hengst
2017-07-12 19:10:50 +02:00
parent 10490865ca
commit b087f8692e
20 changed files with 793 additions and 36 deletions

View File

@@ -511,6 +511,14 @@ nsresult nsNPAPIPluginInstance::SetWindow(NPWindow* window)
return NS_OK;
}
nsresult
nsNPAPIPluginInstance::NewStreamFromPlugin(const char* type, const char* target,
nsIOutputStream* *result)
{
nsPluginStreamToFile* stream = new nsPluginStreamToFile(target, mOwner);
return stream->QueryInterface(kIOutputStreamIID, (void**)result);
}
nsresult
nsNPAPIPluginInstance::NewStreamListener(const char* aURL, void* notifyData,
nsNPAPIPluginStreamListener** listener)