Searched refs:v8npObject (Results 1 – 2 of 2) sorted by relevance
140 V8NPObject* v8npObject = objects.at(index); in npCreateV8ScriptObject() local141 if (v8npObject->v8Object == object && v8npObject->rootObject == root) { in npCreateV8ScriptObject()142 _NPN_RetainObject(&v8npObject->object); in npCreateV8ScriptObject()143 return reinterpret_cast<NPObject*>(v8npObject); in npCreateV8ScriptObject()152 … V8NPObject* v8npObject = reinterpret_cast<V8NPObject*>(_NPN_CreateObject(npp, &V8NPObjectClass)); in npCreateV8ScriptObject() local155 new (&v8npObject->v8Object) v8::Persistent<v8::Object>(); in npCreateV8ScriptObject()156 v8npObject->v8Object.Reset(isolate, object); in npCreateV8ScriptObject()157 v8npObject->rootObject = root; in npCreateV8ScriptObject()160 objectVector->append(v8npObject); in npCreateV8ScriptObject()162 return reinterpret_cast<NPObject*>(v8npObject); in npCreateV8ScriptObject()
437 if (V8NPObject* v8npObject = npObjectToV8NPObject(sub_object)) in _NPN_UnregisterObject() local438 v8npObject->rootObject = 0; in _NPN_UnregisterObject()