Reviewed by Jon.
[WebKit-https.git] / WebCore / ChangeLog
index d1c984812b16a8590e01a7f54865e2877e72d844..3d4d4c8e7fe98b370d00c2dbfe672f8f64be7b38 100644 (file)
@@ -1,3 +1,30 @@
+2008-03-06  Anders Carlsson  <andersca@apple.com>
+
+        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):
+
 2008-03-06  Darin Adler  <darin@apple.com>
 
         Reviewed by Mitz.