зеркало из https://github.com/mozilla/pjs.git
bug #75504; sr=jband. simple fixes correcting where people inappropriately applied |getter_AddRefs|
This commit is contained in:
Родитель
eff86f7772
Коммит
9327bd8542
|
@ -176,7 +176,7 @@ nsSHistory::GetEntryAtIndex(PRInt32 aIndex, PRBool aModifyIndex, nsISHEntry** aR
|
|||
rv = GetTransactionAtIndex(aIndex, getter_AddRefs(txn));
|
||||
if (NS_SUCCEEDED(rv) && txn) {
|
||||
//Get the Entry from the transaction
|
||||
rv = txn->GetSHEntry(getter_AddRefs(aResult));
|
||||
rv = txn->GetSHEntry(aResult);
|
||||
if (NS_SUCCEEDED(rv) && (*aResult)) {
|
||||
// Set mIndex to the requested index, if asked to do so..
|
||||
if (aModifyIndex) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче