Bustage fix (Bug 548847)

This commit is contained in:
Olli Pettay 2010-05-17 15:14:31 +03:00
parent 61c8ca96ee
commit df0addb92f

View File

@ -1641,7 +1641,11 @@ nsFrameLoader::SendCrossProcessKeyEvent(const nsAString& aType,
NS_IMETHODIMP
nsFrameLoader::GetDelayRemoteDialogs(PRBool* aRetVal)
{
#ifdef MOZ_IPC
*aRetVal = mDelayRemoteDialogs;
#else
*aRetVal = PR_FALSE;
#endif
return NS_OK;
}
@ -1655,8 +1659,8 @@ nsFrameLoader::SetDelayRemoteDialogs(PRBool aDelay)
&mozilla::dom::TabParent::HandleDelayedDialogs);
NS_DispatchToCurrentThread(ev);
}
#endif
mDelayRemoteDialogs = aDelay;
#endif
return NS_OK;
}