зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset a2d46929bcbd
This commit is contained in:
Родитель
45bc002cce
Коммит
81d595819c
|
@ -4438,9 +4438,9 @@ PresShell::DispatchSynthMouseMove(nsGUIEvent *aEvent,
|
|||
{
|
||||
PRUint32 hoverGenerationBefore = mFrameConstructor->GetHoverGeneration();
|
||||
nsEventStatus status;
|
||||
nsIView* targetView;
|
||||
targetView = nsIView::GetViewFor(aEvent->widget);
|
||||
mViewManager->DispatchEvent(aEvent, targetView, &status);
|
||||
nsIView* rootView;
|
||||
mViewManager->GetRootView(rootView);
|
||||
mViewManager->DispatchEvent(aEvent, rootView, &status);
|
||||
if (aFlushOnHoverChange &&
|
||||
hoverGenerationBefore != mFrameConstructor->GetHoverGeneration()) {
|
||||
// Flush so that the resulting reflow happens now so that our caller
|
||||
|
|
Загрузка…
Ссылка в новой задаче