зеркало из https://github.com/mozilla/gecko-dev.git
Bug 333420 - Fix build break when building with gcj.
Original committer: pedemont%us.ibm.com Original revision: 1.41 Original date: 2006/04/12 21:28:35
This commit is contained in:
Родитель
94f3debe7b
Коммит
c790500da8
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче