mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bustage fix (Bug 548847)
This commit is contained in:
parent
61c8ca96ee
commit
df0addb92f
@ -1641,7 +1641,11 @@ nsFrameLoader::SendCrossProcessKeyEvent(const nsAString& aType,
|
|||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsFrameLoader::GetDelayRemoteDialogs(PRBool* aRetVal)
|
nsFrameLoader::GetDelayRemoteDialogs(PRBool* aRetVal)
|
||||||
{
|
{
|
||||||
|
#ifdef MOZ_IPC
|
||||||
*aRetVal = mDelayRemoteDialogs;
|
*aRetVal = mDelayRemoteDialogs;
|
||||||
|
#else
|
||||||
|
*aRetVal = PR_FALSE;
|
||||||
|
#endif
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1655,8 +1659,8 @@ nsFrameLoader::SetDelayRemoteDialogs(PRBool aDelay)
|
|||||||
&mozilla::dom::TabParent::HandleDelayedDialogs);
|
&mozilla::dom::TabParent::HandleDelayedDialogs);
|
||||||
NS_DispatchToCurrentThread(ev);
|
NS_DispatchToCurrentThread(ev);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
mDelayRemoteDialogs = aDelay;
|
mDelayRemoteDialogs = aDelay;
|
||||||
|
#endif
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user