Bug 320468: SetDelayCaretOverExistingSelection is unused, patch by Adam Guthrie <ispiked@gmail.com>, r+sr=dbaron

This commit is contained in:
gavin@gavinsharp.com
2006-12-16 14:40:44 +00:00
parent f0cff1440b
commit 1615608000
3 changed files with 37 additions and 73 deletions

View File

@@ -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)
{