Bug 1048752. Part 35: Remove GetFrameSelection (unused). r=tn

--HG--
extra : rebase_source : 4b528b7de79bf3f1e03891cb093d16a111605c2c
This commit is contained in:
Robert O'Callahan 2014-08-06 17:19:31 +12:00
parent 3874da6a87
commit 9e3f9ec33b
2 changed files with 0 additions and 10 deletions

View File

@ -878,14 +878,6 @@ void nsCaret::CaretBlinkCallback(nsITimer* aTimer, void* aClosure)
theCaret->SchedulePaint();
}
//-----------------------------------------------------------------------------
nsFrameSelection*
nsCaret::GetFrameSelection()
{
return GetSelectionInternal()->GetFrameSelection();
}
void
nsCaret::SetIgnoreUserModify(bool aIgnoreUserModify)
{

View File

@ -172,8 +172,6 @@ protected:
void ComputeCaretRects(nsIFrame* aFrame, int32_t aFrameOffset,
nsRect* aCaretRect, nsRect* aHookRect);
nsFrameSelection* GetFrameSelection();
// Returns true if we should not draw the caret because of XUL menu popups.
// The caret should be hidden if:
// 1. An open popup contains the caret, but a menu popup exists before the