mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
dangit forgot this one
This commit is contained in:
parent
bd0b4a8c70
commit
c6128bbf01
@ -928,17 +928,6 @@ nsFrame::HandlePress(nsIPresContext* aPresContext,
|
|||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
//IF THIS FRAME IS GENERATED
|
|
||||||
result = kid->GetFrameState(&frameState);
|
|
||||||
|
|
||||||
if (NS_FAILED(result))
|
|
||||||
return result;
|
|
||||||
|
|
||||||
if (frameState & NS_FRAME_GENERATED_CONTENT) {
|
|
||||||
// It's generated content, so skip it!
|
|
||||||
skipThisKid = PR_TRUE;
|
|
||||||
|
|
||||||
|
|
||||||
nsMouseEvent *me = (nsMouseEvent *)aEvent;
|
nsMouseEvent *me = (nsMouseEvent *)aEvent;
|
||||||
if (me->clickCount >1 )
|
if (me->clickCount >1 )
|
||||||
return HandleMultiplePress(aPresContext,aEvent,aEventStatus);
|
return HandleMultiplePress(aPresContext,aEvent,aEventStatus);
|
||||||
|
@ -928,17 +928,6 @@ nsFrame::HandlePress(nsIPresContext* aPresContext,
|
|||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
//IF THIS FRAME IS GENERATED
|
|
||||||
result = kid->GetFrameState(&frameState);
|
|
||||||
|
|
||||||
if (NS_FAILED(result))
|
|
||||||
return result;
|
|
||||||
|
|
||||||
if (frameState & NS_FRAME_GENERATED_CONTENT) {
|
|
||||||
// It's generated content, so skip it!
|
|
||||||
skipThisKid = PR_TRUE;
|
|
||||||
|
|
||||||
|
|
||||||
nsMouseEvent *me = (nsMouseEvent *)aEvent;
|
nsMouseEvent *me = (nsMouseEvent *)aEvent;
|
||||||
if (me->clickCount >1 )
|
if (me->clickCount >1 )
|
||||||
return HandleMultiplePress(aPresContext,aEvent,aEventStatus);
|
return HandleMultiplePress(aPresContext,aEvent,aEventStatus);
|
||||||
|
Loading…
Reference in New Issue
Block a user