summaryrefslogtreecommitdiffstats
path: root/WebCore/bridge/jni/v8/JavaInstanceV8.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bridge/jni/v8/JavaInstanceV8.cpp')
-rw-r--r--WebCore/bridge/jni/v8/JavaInstanceV8.cpp13
1 files changed, 1 insertions, 12 deletions
diff --git a/WebCore/bridge/jni/v8/JavaInstanceV8.cpp b/WebCore/bridge/jni/v8/JavaInstanceV8.cpp
index dd4750f..27adca3 100644
--- a/WebCore/bridge/jni/v8/JavaInstanceV8.cpp
+++ b/WebCore/bridge/jni/v8/JavaInstanceV8.cpp
@@ -33,11 +33,6 @@
#include <assert.h>
-// ANDROID
-#define LOG_TAG "v8binding"
-#include <utils/Log.h>
-// END ANDROID
-
using namespace JSC::Bindings;
JavaInstance::JavaInstance(jobject instance)
@@ -161,10 +156,6 @@ JObjectWrapper::JObjectWrapper(jobject instance)
: m_refCount(0)
{
assert(instance);
-// ANDROID
- if (!instance)
- LOGE("Attempted to create JObjectWrapper for null object");
-// END ANDROID
// Cache the JNIEnv used to get the global ref for this java instanace.
// It'll be used to delete the reference.
@@ -173,9 +164,7 @@ JObjectWrapper::JObjectWrapper(jobject instance)
m_instance = m_env->NewGlobalRef(instance);
if (!m_instance)
-// ANDROID
- LOGE("%s: could not get GlobalRef for %p\n", __PRETTY_FUNCTION__, instance);
-// END ANDROID
+ fprintf(stderr, "%s: could not get GlobalRef for %p\n", __PRETTY_FUNCTION__, instance);
}
JObjectWrapper::~JObjectWrapper()