diff options
author | Steve Block <steveblock@google.com> | 2009-11-17 13:39:58 +0000 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2009-11-17 14:57:09 +0000 |
commit | 8dcb4bb39afc3d3e0f58ecee412a420fe0290076 (patch) | |
tree | 381e066ad33b19f05dc66d3522c7dd4338e20397 /WebCore/bridge/jni/jni_runtime.cpp | |
parent | 1865b30642c7bb27315677df124eb2c4f14daea6 (diff) | |
download | external_webkit-8dcb4bb39afc3d3e0f58ecee412a420fe0290076.zip external_webkit-8dcb4bb39afc3d3e0f58ecee412a420fe0290076.tar.gz external_webkit-8dcb4bb39afc3d3e0f58ecee412a420fe0290076.tar.bz2 |
Cleans up Android-specific changes to WebCore/bridge/jni ready for upstreaing to webkit.org.
Change-Id: I0778955bee95680a9924fdae2967158e4add81ba
Diffstat (limited to 'WebCore/bridge/jni/jni_runtime.cpp')
-rw-r--r-- | WebCore/bridge/jni/jni_runtime.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/WebCore/bridge/jni/jni_runtime.cpp b/WebCore/bridge/jni/jni_runtime.cpp index 2bac17a..50fe351 100644 --- a/WebCore/bridge/jni/jni_runtime.cpp +++ b/WebCore/bridge/jni/jni_runtime.cpp @@ -284,7 +284,8 @@ JavaMethod::JavaMethod (JNIEnv *env, jobject aMethod) jclass modifierClass = env->FindClass("java/lang/reflect/Modifier"); int modifiers = callJNIMethod<jint>(aMethod, "getModifiers", "()I"); _isStatic = (bool)callJNIStaticMethod<jboolean>(modifierClass, "isStatic", "(I)Z", modifiers); -#ifdef ANDROID_FIX +#if PLATFORM(ANDROID) + // TODO : Upstream to webkit.org for all platforms. env->DeleteLocalRef(modifierClass); #endif } |