summaryrefslogtreecommitdiffstats
path: root/WebKit/android/jni/WebCoreJni.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/android/jni/WebCoreJni.cpp')
-rw-r--r--WebKit/android/jni/WebCoreJni.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebKit/android/jni/WebCoreJni.cpp b/WebKit/android/jni/WebCoreJni.cpp
index 139058e..b757e3a 100644
--- a/WebKit/android/jni/WebCoreJni.cpp
+++ b/WebKit/android/jni/WebCoreJni.cpp
@@ -87,7 +87,7 @@ WebCore::String to_string(JNIEnv* env, jstring str)
int register_webcorejni(JNIEnv* env) {
// Instantiate the WeakReference fields.
jclass weakRef = env->FindClass("java/lang/ref/WeakReference");
- LOG_ASSERT(android::weakRef, "Could not find WeakReference");
+ LOG_ASSERT(weakRef, "Could not find WeakReference");
android::gWeakRefClass = (jclass)env->NewGlobalRef(weakRef);
android::gWeakRefInit = env->GetMethodID(android::gWeakRefClass,
"<init>", "(Ljava/lang/Object;)V");