summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/bridge/jni/jni_jsobject.mm
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/bridge/jni/jni_jsobject.mm')
-rw-r--r--Source/WebCore/bridge/jni/jni_jsobject.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/bridge/jni/jni_jsobject.mm b/Source/WebCore/bridge/jni/jni_jsobject.mm
index 172559e..03b8fc2 100644
--- a/Source/WebCore/bridge/jni/jni_jsobject.mm
+++ b/Source/WebCore/bridge/jni/jni_jsobject.mm
@@ -419,7 +419,7 @@ jstring JavaJSObject::toString() const
JSObject *thisObj = const_cast<JSObject*>(_imp);
ExecState* exec = rootObject->globalObject()->globalExec();
- return static_cast<jstring>(convertValueToJValue(exec, rootObject, thisObj, object_type, "java.lang.String").l);
+ return static_cast<jstring>(convertValueToJValue(exec, rootObject, thisObj, JavaTypeObject, "java.lang.String").l);
}
void JavaJSObject::finalize() const