Fix up dom/plugins code for bug 516661 - no more nspluginsdefs.h!

This commit is contained in:
Benjamin Smedberg 2009-09-18 17:01:09 -04:00
Родитель 03bc0e116d
Коммит 379dcfab05
2 изменённых файлов: 2 добавлений и 4 удалений

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

@ -49,7 +49,6 @@
#include "npapi.h"
#include "npfunctions.h"
#include "nsplugindefs.h"
#include "nsAutoPtr.h"
#include "nsDataHashtable.h"

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

@ -47,7 +47,6 @@
#include "npapi.h"
#include "npfunctions.h"
#include "nsplugindefs.h"
#include "base/string_util.h"
@ -167,7 +166,7 @@ private:
}
NPError NP_GetValue(void *future,
nsPluginVariable aVariable, void *aValue)
NPPVariable aVariable, void *aValue)
{
_MOZ_LOG(__FUNCTION__);
return 1;
@ -328,7 +327,7 @@ private:
return HACK_target->NP_GetMIMEDescription();
}
static NPError NP_GetValue(void *future,
nsPluginVariable aVariable, void *aValue)
NPPVariable aVariable, void *aValue)
{
return HACK_target->NP_GetValue(future, aVariable, aValue);
}