summaryrefslogtreecommitdiff
path: root/Source/WebCore/bindings/v8/NPV8Object.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/bindings/v8/NPV8Object.h')
-rw-r--r--Source/WebCore/bindings/v8/NPV8Object.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/Source/WebCore/bindings/v8/NPV8Object.h b/Source/WebCore/bindings/v8/NPV8Object.h
index b7e0464a1..f72ba8bd1 100644
--- a/Source/WebCore/bindings/v8/NPV8Object.h
+++ b/Source/WebCore/bindings/v8/NPV8Object.h
@@ -54,9 +54,8 @@ WrapperTypeInfo* npObjectTypeInfo();
extern NPClass* npScriptObjectClass;
-// A V8NPObject is a NPObject which carries additional V8-specific information.
-// It is created with npCreateV8ScriptObject() and deallocated via the deallocate
-// method in the same way as other NPObjects.
+// A V8NPObject is a NPObject which carries additional V8-specific information. It is allocated and deallocated by
+// AllocV8NPObject() and FreeV8NPObject() methods.
struct V8NPObject {
NPObject object;
v8::Persistent<v8::Object> v8Object;
@@ -75,8 +74,6 @@ NPObject* npCreateV8ScriptObject(NPP, v8::Handle<v8::Object>, DOMWindow*);
NPObject* v8ObjectToNPObject(v8::Handle<v8::Object>);
-void disposeUnderlyingV8Object(NPObject*);
-
} // namespace WebCore
#endif // NPV8Object_h