From 379dcfab05d96bfa2cc27faa4711fce8db405e6c Mon Sep 17 00:00:00 2001 From: Benjamin Smedberg Date: Fri, 18 Sep 2009 17:01:09 -0400 Subject: [PATCH] Fix up dom/plugins code for bug 516661 - no more nspluginsdefs.h! --- dom/plugins/PluginModuleChild.h | 1 - dom/plugins/PluginModuleParent.h | 5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/dom/plugins/PluginModuleChild.h b/dom/plugins/PluginModuleChild.h index e93a13ac867c..643509bc87fc 100644 --- a/dom/plugins/PluginModuleChild.h +++ b/dom/plugins/PluginModuleChild.h @@ -49,7 +49,6 @@ #include "npapi.h" #include "npfunctions.h" -#include "nsplugindefs.h" #include "nsAutoPtr.h" #include "nsDataHashtable.h" diff --git a/dom/plugins/PluginModuleParent.h b/dom/plugins/PluginModuleParent.h index c8fd7cc94195..b637a1256352 100644 --- a/dom/plugins/PluginModuleParent.h +++ b/dom/plugins/PluginModuleParent.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); }