mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-27 05:00:13 -10:00
Bug 333420 - Fix build break when building with gcj.
This commit is contained in:
1 parent
151271217c
commit
a97f3cb3ed
1 file changed
+3
-1
@@ -584,7 +584,9 @@ NativeToJavaProxyMap::Remove(JNIEnv* env, nsISupports* aNativeObject,
|
||||
PR_Free(iid_str);
|
||||
#endif
|
||||
|
||||
env->DeleteWeakGlobalRef(item->javaObject);
|
||||
jweak weakref = NS_STATIC_CAST(jweak,
|
||||
NS_CONST_CAST(jobject, item->javaObject));
|
||||
env->DeleteWeakGlobalRef(weakref);
|
||||
if (item == e->list) {
|
||||
e->list = item->next;
|
||||
if (e->list == nsnull)
|
||||
|
||||
Reference in new issue
Block a user