Reviewed by Jon.
authorandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 7 Mar 2008 01:55:18 +0000 (01:55 +0000)
committerandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 7 Mar 2008 01:55:18 +0000 (01:55 +0000)
commitdb7029cb667ac1f529d879504547267ed7d5c465
tree219582e0a1eb59accf32fa27bb6eeba2f0279b93
parent3b7bc7a59e68a70a4e09a1c6b0a280581a7d6b07
    Reviewed by Jon.

        Templatize the JNI call code to reduce the amount of code that has
        to be duplicated.

        * bridge/jni/jni_class.cpp:
        (JavaClass::JavaClass):
        * bridge/jni/jni_instance.cpp:
        (JavaInstance::stringValue):
        (JavaInstance::numberValue):
        (JavaInstance::booleanValue):
        (JavaInstance::invokeMethod):
        * bridge/jni/jni_jsobject.cpp:
        (JavaJSObject::convertJObjectToValue):
        * bridge/jni/jni_runtime.cpp:
        (JavaField::JavaField):
        (JavaMethod::JavaMethod):
        * bridge/jni/jni_utility.cpp:
        * bridge/jni/jni_utility.h:
        (KJS::Bindings::):
        (KJS::Bindings::callJNIMethodIDA):
        (KJS::Bindings::callJNIMethodV):
        (KJS::Bindings::callJNIMethod):
        (KJS::Bindings::callJNIStaticMethod):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@30868 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/bridge/jni/jni_class.cpp
WebCore/bridge/jni/jni_instance.cpp
WebCore/bridge/jni/jni_jsobject.cpp
WebCore/bridge/jni/jni_runtime.cpp
WebCore/bridge/jni/jni_utility.cpp
WebCore/bridge/jni/jni_utility.h