Bug 545239 - [OOPP] Plugin focus: hang at PPluginInstanceParent::CallSetPluginFocus against child _NtUserSetFocus. r=bsmedberg.

This commit is contained in:
Jim Mathies 2010-02-18 14:21:21 -06:00
parent 9573527c53
commit 8ea3d49ec0

View File

@ -906,7 +906,7 @@ PluginInstanceParent::PluginWindowHookProc(HWND hWnd,
// Widget may be calling us back from AnswerPluginGotFocus(), make
// sure we don't end up sending this back over. If we're not in
// SendMessage, this is coming from the dom / focus manager.
if ((::InSendMessageEx(NULL) & ISMEX_SEND|ISMEX_REPLIED) != ISMEX_SEND)
if ((::InSendMessageEx(NULL) & (ISMEX_SEND|ISMEX_REPLIED)) != ISMEX_SEND)
self->CallSetPluginFocus();
break;