summaryrefslogtreecommitdiffstats
path: root/Source/WebKit2/WebProcess/Plugins/Netscape/NPRuntimeObjectMap.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit2/WebProcess/Plugins/Netscape/NPRuntimeObjectMap.h')
-rw-r--r--Source/WebKit2/WebProcess/Plugins/Netscape/NPRuntimeObjectMap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/WebKit2/WebProcess/Plugins/Netscape/NPRuntimeObjectMap.h b/Source/WebKit2/WebProcess/Plugins/Netscape/NPRuntimeObjectMap.h
index a11c354..d13e1fe 100644
--- a/Source/WebKit2/WebProcess/Plugins/Netscape/NPRuntimeObjectMap.h
+++ b/Source/WebKit2/WebProcess/Plugins/Netscape/NPRuntimeObjectMap.h
@@ -34,6 +34,7 @@ typedef struct _NPVariant NPVariant;
namespace JSC {
class ExecState;
+ class JSGlobalData;
class JSGlobalObject;
class JSObject;
class JSValue;
@@ -61,7 +62,7 @@ public:
// Returns an NPObject that wraps the given JSObject object. If there is already an NPObject that wraps this JSObject, it will
// retain it and return it.
- NPObject* getOrCreateNPObject(JSC::JSObject*);
+ NPObject* getOrCreateNPObject(JSC::JSGlobalData&, JSC::JSObject*);
void npJSObjectDestroyed(NPJSObject*);
// Returns a JSObject object that wraps the given NPObject.