Lines Matching refs:jsObject
62 NPObject* NPRuntimeObjectMap::getOrCreateNPObject(JSGlobalData& globalData, JSObject* jsObject)
65 if (jsObject->classInfo() == &JSNPObject::s_info) {
66 JSNPObject* jsNPObject = static_cast<JSNPObject*>(jsObject);
74 if (NPJSObject* npJSObject = m_npJSObjects.get(jsObject)) {
79 NPJSObject* npJSObject = NPJSObject::create(globalData, this, jsObject);
80 m_npJSObjects.set(jsObject, npJSObject);
88 ASSERT(m_npJSObjects.contains(npJSObject->jsObject()));
89 m_npJSObjects.remove(npJSObject->jsObject());
92 JSObject* NPRuntimeObjectMap::getOrCreateJSObject(JSGlobalObject* globalObject, NPObject* npObject)
94 // If this is an NPJSObject, we can just get the JSObject that it's wrapping.
96 return NPJSObject::toNPJSObject(npObject)->jsObject();