diff options
-rw-r--r-- | Android.mk | 2 | ||||
-rw-r--r-- | WebKit/android/jni/WebCoreJni.cpp | 2 |
2 files changed, 1 insertions, 3 deletions
@@ -266,9 +266,7 @@ include $(BASE_PATH)/WebKit/android/plugins/sample/Android.mk include $(BASE_PATH)/WebKit/android/wds/client/Android.mk # Build the performance command line tool but only if v8 is disabled. -#ifneq ($(ENABLE_V8),true) include $(BASE_PATH)/perf/Android.mk -#endif # Build the webkit merge tool. include $(BASE_PATH)/WebKitTools/android/webkitmerge/Android.mk 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"); |