Merge mozilla-central to inbound

This commit is contained in:
Carsten "Tomcat" Book
2016-11-16 14:53:15 +01:00
678 changed files with 22863 additions and 35496 deletions

View File

@@ -466,9 +466,9 @@ class nsPluginThreadRunnable : public Runnable,
public:
nsPluginThreadRunnable(NPP instance, PluginThreadCallback func,
void *userData);
virtual ~nsPluginThreadRunnable();
~nsPluginThreadRunnable() override;
NS_IMETHOD Run();
NS_IMETHOD Run() override;
bool IsForInstance(NPP instance)
{
@@ -812,7 +812,7 @@ _newstream(NPP npp, NPMIMEType type, const char* target, NPStream* *result)
nsCOMPtr<nsIOutputStream> stream;
if (NS_SUCCEEDED(inst->NewStreamFromPlugin((const char*) type, target,
getter_AddRefs(stream)))) {
nsNPAPIStreamWrapper* wrapper = new nsNPAPIStreamWrapper(stream, nullptr);
auto* wrapper = new nsNPAPIStreamWrapper(stream, nullptr);
if (wrapper) {
(*result) = &wrapper->mNPStream;
err = NPERR_NO_ERROR;