bug 761399 - RefCountedJavaObject::mRefCnt is not initialized r=kats

--HG--
extra : rebase_source : 901a1ca9e69f08b3f049c565a01fd338edffb11b
This commit is contained in:
Brad Lassey 2012-06-05 14:59:01 -04:00
parent 822c3827ab
commit f5c963eae5

View File

@ -43,7 +43,7 @@ void InitAndroidJavaWrappers(JNIEnv *jEnv);
class RefCountedJavaObject {
public:
RefCountedJavaObject(JNIEnv* env, jobject obj) : mObject(env->NewGlobalRef(obj)) {}
RefCountedJavaObject(JNIEnv* env, jobject obj) : mRefCnt(0), mObject(env->NewGlobalRef(obj)) {}
~RefCountedJavaObject();