mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 984254: Remove unnecessary nsresult return value on nsCaret::CheckCaretDrawingState(). r=roc
This commit is contained in:
parent
9d8f118d8d
commit
94093687bf
@ -854,7 +854,8 @@ nsCaret::GetCaretFrameForNodeOffset(nsIContent* aContentNode,
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
nsresult nsCaret::CheckCaretDrawingState()
|
||||
void
|
||||
nsCaret::CheckCaretDrawingState()
|
||||
{
|
||||
if (mDrawn) {
|
||||
// The caret is drawn; if it shouldn't be, erase it.
|
||||
@ -867,7 +868,6 @@ nsresult nsCaret::CheckCaretDrawingState()
|
||||
if (mPendingDraw && (mVisible && MustDrawCaret(true)))
|
||||
DrawCaret(true);
|
||||
}
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
/*-----------------------------------------------------------------------------
|
||||
|
@ -163,7 +163,7 @@ class nsCaret : public nsISelectionListener
|
||||
nsIFrame** aReturnFrame,
|
||||
int32_t* aReturnOffset);
|
||||
|
||||
NS_IMETHOD CheckCaretDrawingState();
|
||||
void CheckCaretDrawingState();
|
||||
|
||||
protected:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user