Bug 1360946 - Consider a SetDocShellIsActive message a 'pending input event' so it can interrupt reflow. r=bz

MozReview-Commit-ID: 9tV1MFAtim4

--HG--
extra : rebase_source : 7230274a34900896237e2ccc89d1d94ecd9757e1
This commit is contained in:
Mike Conley 2017-05-26 18:27:45 -04:00
parent c7eec4fbc7
commit a667d4ec7d

View File

@ -1434,6 +1434,7 @@ PuppetWidget::HasPendingInputEvent()
case mozilla::dom::PBrowser::Msg_UpdateDimensions__ID:
case mozilla::dom::PBrowser::Msg_MouseEvent__ID:
case mozilla::dom::PBrowser::Msg_KeyEvent__ID:
case mozilla::dom::PBrowser::Msg_SetDocShellIsActive__ID:
ret = true;
return false; // Stop peeking.
}