mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Bug 454469: prbool issues in content/ r+sr=sicking
This commit is contained in:
parent
0a9cfb9d96
commit
7616c0d762
@ -2889,7 +2889,7 @@ nsEventStateManager::PostHandleEvent(nsPresContext* aPresContext,
|
||||
case MOUSE_SCROLL_N_LINES:
|
||||
{
|
||||
DoScrollText(presContext, aTargetFrame, msEvent, msEvent->delta,
|
||||
(msEvent->scrollFlags & nsMouseScrollEvent::kIsHorizontal),
|
||||
!!(msEvent->scrollFlags & nsMouseScrollEvent::kIsHorizontal),
|
||||
eScrollByLine);
|
||||
}
|
||||
break;
|
||||
@ -2897,7 +2897,7 @@ nsEventStateManager::PostHandleEvent(nsPresContext* aPresContext,
|
||||
case MOUSE_SCROLL_PAGE:
|
||||
{
|
||||
DoScrollText(presContext, aTargetFrame, msEvent, msEvent->delta,
|
||||
(msEvent->scrollFlags & nsMouseScrollEvent::kIsHorizontal),
|
||||
!!(msEvent->scrollFlags & nsMouseScrollEvent::kIsHorizontal),
|
||||
eScrollByPage);
|
||||
}
|
||||
break;
|
||||
@ -2905,7 +2905,7 @@ nsEventStateManager::PostHandleEvent(nsPresContext* aPresContext,
|
||||
case MOUSE_SCROLL_PIXELS:
|
||||
{
|
||||
DoScrollText(presContext, aTargetFrame, msEvent, msEvent->delta,
|
||||
(msEvent->scrollFlags & nsMouseScrollEvent::kIsHorizontal),
|
||||
!!(msEvent->scrollFlags & nsMouseScrollEvent::kIsHorizontal),
|
||||
eScrollByPixel);
|
||||
}
|
||||
break;
|
||||
|
@ -2065,7 +2065,7 @@ HTMLContentSink::OpenBody(const nsIParserNode& aNode)
|
||||
// insertionPoint is not -1, but this code will try to handle
|
||||
// those cases too.
|
||||
|
||||
PRBool oldUpdates = mUpdatesInNotification;
|
||||
PRUint32 oldUpdates = mUpdatesInNotification;
|
||||
mUpdatesInNotification = 0;
|
||||
if (insertionPoint != -1) {
|
||||
NotifyInsert(parent, mBody, insertionPoint - 1);
|
||||
@ -2227,7 +2227,7 @@ HTMLContentSink::OpenFrameset(const nsIParserNode& aNode)
|
||||
// insertionPoint is not -1, but this code will try to handle
|
||||
// those cases too.
|
||||
|
||||
PRBool oldUpdates = mUpdatesInNotification;
|
||||
PRUint32 oldUpdates = mUpdatesInNotification;
|
||||
mUpdatesInNotification = 0;
|
||||
if (insertionPoint != -1) {
|
||||
NotifyInsert(parent, mFrameset, insertionPoint - 1);
|
||||
|
Loading…
Reference in New Issue
Block a user