diff options
author | Patrick Scott <phanna@android.com> | 2009-05-13 15:27:26 -0400 |
---|---|---|
committer | Patrick Scott <phanna@android.com> | 2009-05-13 15:27:26 -0400 |
commit | 301fbd5cdb131522d03003ff0b8a2db26e5a5ee6 (patch) | |
tree | c8e863825da45846bd5046e9d00085d583d77357 | |
parent | 96ab22df9b953cf4e88b2acf7d66b5d7c5e2c69a (diff) | |
download | external_webkit-301fbd5cdb131522d03003ff0b8a2db26e5a5ee6.zip external_webkit-301fbd5cdb131522d03003ff0b8a2db26e5a5ee6.tar.gz external_webkit-301fbd5cdb131522d03003ff0b8a2db26e5a5ee6.tar.bz2 |
Remove uncommented makefile conditional. Fix an assert condition.
-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"); |