summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Android.mk2
-rw-r--r--WebKit/android/jni/WebCoreJni.cpp2
2 files changed, 1 insertions, 3 deletions
diff --git a/Android.mk b/Android.mk
index f9481b4..61cf66f 100644
--- a/Android.mk
+++ b/Android.mk
@@ -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");