зеркало из https://github.com/mozilla/pjs.git
Bug 543831 - [OOPP] Hang with embedded youtube video. r=bent.
This commit is contained in:
Родитель
c8e0c3521e
Коммит
450b52e6b2
|
@ -897,6 +897,10 @@ PluginInstanceParent::PluginWindowHookProc(HWND hWnd,
|
|||
|
||||
switch (message) {
|
||||
case WM_SETFOCUS:
|
||||
// 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)
|
||||
self->CallSetPluginFocus();
|
||||
break;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче