Bug 1307708 - Make the GetKeyState IPDL call sync (it was intr). r=jimm

This should avoid destruction messages from deleting the actor while the intr message is awaiting a response.
This commit is contained in:
David Parks
2017-02-06 11:53:59 -08:00
parent 338a4a24e9
commit 5691514b86
4 changed files with 7 additions and 7 deletions

View File

@@ -2117,7 +2117,7 @@ PMCGetKeyState(int aVirtKey)
PluginModuleChild* chromeInstance = PluginModuleChild::GetChrome();
if (chromeInstance) {
int16_t ret = 0;
if (chromeInstance->CallGetKeyState(aVirtKey, &ret)) {
if (chromeInstance->SendGetKeyState(aVirtKey, &ret)) {
return ret;
}
}