Bug 1000364: Drop nonqueued messages for QuickTime's QTNSHIDDEN class. r=jimm

--HG--
extra : rebase_source : 9f319b57601d36a108d4f22f3b2221d62ac25523
This commit is contained in:
David Major 2014-05-08 12:20:05 +12:00
Родитель a3763119d1
Коммит 2f04916760
1 изменённых файлов: 7 добавлений и 0 удалений

Просмотреть файл

@ -280,6 +280,11 @@ ProcessOrDeferMessage(HWND hwnd,
case WM_SYNCPAINT:
return 0;
// This message causes QuickTime to make re-entrant calls.
// Simply discarding it doesn't seem to hurt anything.
case WM_APP-1:
return 0;
default: {
if (uMsg && uMsg == mozilla::widget::sAppShellGeckoMsgId) {
// Widget's registered native event callback
@ -390,8 +395,10 @@ WindowIsDeferredWindow(HWND hWnd)
// Plugin windows that can trigger ipc calls in child:
// 'ShockwaveFlashFullScreen' - flash fullscreen window
// 'QTNSHIDDEN' - QuickTime
// 'AGFullScreenWinClass' - silverlight fullscreen window
if (className.EqualsLiteral("ShockwaveFlashFullScreen") ||
className.EqualsLiteral("QTNSHIDDEN") ||
className.EqualsLiteral("AGFullScreenWinClass")) {
return true;
}