зеркало из https://github.com/mozilla/gecko-dev.git
Partial fix for 3289, reduce number of repaints/reflow when mousing over toolbar buttons. A:chofmann
This commit is contained in:
Родитель
11c68f561c
Коммит
6d01924c3c
|
@ -339,10 +339,6 @@ nsEventStateManager::GenerateMouseEnterExit(nsIPresContext& aPresContext, nsGUIE
|
|||
}
|
||||
}
|
||||
|
||||
if (nsEventStatus_eConsumeNoDefault != status) {
|
||||
SetContentState(nsnull, NS_EVENT_STATE_HOVER);
|
||||
}
|
||||
|
||||
//Now dispatch to the frame
|
||||
if (nsnull != mLastMouseOverFrame) {
|
||||
//XXX Get the new frame
|
||||
|
|
|
@ -339,10 +339,6 @@ nsEventStateManager::GenerateMouseEnterExit(nsIPresContext& aPresContext, nsGUIE
|
|||
}
|
||||
}
|
||||
|
||||
if (nsEventStatus_eConsumeNoDefault != status) {
|
||||
SetContentState(nsnull, NS_EVENT_STATE_HOVER);
|
||||
}
|
||||
|
||||
//Now dispatch to the frame
|
||||
if (nsnull != mLastMouseOverFrame) {
|
||||
//XXX Get the new frame
|
||||
|
|
Загрузка…
Ссылка в новой задаче