mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 06:45:42 +00:00
Backed out changeset 90a30ea68797
This commit is contained in:
parent
1284a86b27
commit
4bba0cff2a
@ -2781,6 +2781,7 @@ PresShell::NotifyDestroyingFrame(nsIFrame* aFrame)
|
||||
}
|
||||
}
|
||||
|
||||
// note that this can return a null caret, but NS_OK
|
||||
already_AddRefed<nsCaret> PresShell::GetCaret()
|
||||
{
|
||||
nsCaret* caret = mCaret;
|
||||
@ -2788,7 +2789,7 @@ already_AddRefed<nsCaret> PresShell::GetCaret()
|
||||
return caret;
|
||||
}
|
||||
|
||||
void PresShell::MaybeInvalidateCaretPosition()
|
||||
NS_IMETHODIMP_(void) PresShell::MaybeInvalidateCaretPosition()
|
||||
{
|
||||
if (mCaret) {
|
||||
mCaret->InvalidateOutsideCaret();
|
||||
|
Loading…
Reference in New Issue
Block a user