зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1263982, the return value of Rollup should override the consume value as with other platforms, r=jmathies
This commit is contained in:
Родитель
a030ec3ce6
Коммит
f51b267a55
|
@ -7645,13 +7645,11 @@ nsWindow::DealWithPopups(HWND aWnd, UINT aMessage,
|
|||
nsIntPoint pos(pt.x, pt.y);
|
||||
|
||||
consumeRollupEvent =
|
||||
rollupListener->Rollup(popupsToRollup, true, &pos, &mLastRollup) ||
|
||||
consumeRollupEvent;
|
||||
rollupListener->Rollup(popupsToRollup, true, &pos, &mLastRollup);
|
||||
NS_IF_ADDREF(mLastRollup);
|
||||
} else {
|
||||
consumeRollupEvent =
|
||||
rollupListener->Rollup(popupsToRollup, true, nullptr, nullptr) ||
|
||||
consumeRollupEvent;
|
||||
rollupListener->Rollup(popupsToRollup, true, nullptr, nullptr);
|
||||
}
|
||||
|
||||
// Tell hook to stop processing messages
|
||||
|
|
Загрузка…
Ссылка в новой задаче