Source/WebCore/bridge/jni/v8/JavaNPObjectV8.cpp
JavaInstance* ExtractJavaInstance(NPObject* obj)
{
    if (obj->_class == &JavaNPObjectClass)
        return reinterpret_cast<JavaNPObject*>(obj)->m_instance.get();
    return 0;
}
// Returns null if obj is not a wrapper of JavaInstance
Returns null if obj is not a wrapper of JavaInstance
Returns null if obj is not a wrapper of JavaInstance
JavaInstance* ExtractJavaInstance(NPObject* obj)
{
    if (obj->_class == &JavaNPObjectClass)
        return reinterpret_cast<JavaNPObject*>(obj)->m_instance.get();
    return 0;
}
JavaInstance * ExtractJavaInstance ( NPObject * obj ) { if ( obj -> _class == & JavaNPObjectClass ) return reinterpret_cast < JavaNPObject * > ( obj ) -> m_instance . get ( ) ; return 0 ; }
Returns null if obj is not a wrapper of JavaInstance
Returns null if obj is not a wrapper of JavaInstance