summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/bridge/jni/jsc/JavaClassJSC.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/bridge/jni/jsc/JavaClassJSC.cpp')
-rw-r--r--Source/WebCore/bridge/jni/jsc/JavaClassJSC.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/WebCore/bridge/jni/jsc/JavaClassJSC.cpp b/Source/WebCore/bridge/jni/jsc/JavaClassJSC.cpp
index 18cd1af..44ea2b4 100644
--- a/Source/WebCore/bridge/jni/jsc/JavaClassJSC.cpp
+++ b/Source/WebCore/bridge/jni/jsc/JavaClassJSC.cpp
@@ -28,10 +28,9 @@
#if ENABLE(JAVA_BRIDGE)
-#include "JNIUtility.h"
#include "JSDOMWindow.h"
#include "JavaFieldJSC.h"
-#include "JavaMethod.h"
+#include "JavaMethodJobject.h"
#include <runtime/Identifier.h>
#include <runtime/JSLock.h>
@@ -77,7 +76,7 @@ JavaClass::JavaClass(jobject anInstance)
int numMethods = env->GetArrayLength(methods);
for (i = 0; i < numMethods; i++) {
jobject aJMethod = env->GetObjectArrayElement((jobjectArray)methods, i);
- JavaMethod* aMethod = new JavaMethod(env, aJMethod); // deleted in the JavaClass destructor
+ JavaMethod* aMethod = new JavaMethodJobject(env, aJMethod); // deleted in the JavaClass destructor
MethodList* methodList;
{
JSLock lock(SilenceAssertionsOnly);