Bug 320468: SetDelayCaretOverExistingSelection is unused, patch by Adam Guthrie <ispiked@gmail.com>, r+sr=dbaron
This commit is contained in:
@@ -852,7 +852,6 @@ nsFrameSelection::nsFrameSelection()
|
||||
|
||||
mDisplaySelection = nsISelectionController::SELECTION_OFF;
|
||||
|
||||
mDelayCaretOverExistingSelection = PR_TRUE;
|
||||
mDelayedMouseEventValid = PR_FALSE;
|
||||
mSelectionChangeReason = nsISelectionListener::NO_REASON;
|
||||
}
|
||||
@@ -3893,15 +3892,6 @@ nsFrameSelection::DeleteFromDocument()
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
void
|
||||
nsFrameSelection::SetDelayCaretOverExistingSelection(PRBool aDelay)
|
||||
{
|
||||
mDelayCaretOverExistingSelection = aDelay;
|
||||
|
||||
if (! aDelay)
|
||||
mDelayedMouseEventValid = PR_FALSE;
|
||||
}
|
||||
|
||||
void
|
||||
nsFrameSelection::SetDelayedCaretData(nsMouseEvent *aMouseEvent)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user