mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 615256 warning: 'PRBool FramesOnSameLineHaveZeroHeight(nsIFrame*)' defined but not used; r=mats a=ehsan landing on a CLOSED TREE instead of a white-space change to get a Windows debug X test run
This commit is contained in:
parent
0bda7125ce
commit
af331b879b
@ -146,21 +146,6 @@ AdjustCaretFrameForLineEnd(nsIFrame** aFrame, PRInt32* aOffset)
|
||||
}
|
||||
}
|
||||
|
||||
static PRBool
|
||||
FramesOnSameLineHaveZeroHeight(nsIFrame* aFrame)
|
||||
{
|
||||
nsLineBox* line = FindContainingLine(aFrame);
|
||||
if (!line)
|
||||
return aFrame->GetRect().height == 0;
|
||||
PRInt32 count = line->GetChildCount();
|
||||
for (nsIFrame* f = line->mFirstChild; count > 0; --count, f = f->GetNextSibling())
|
||||
{
|
||||
if (f->GetRect().height != 0)
|
||||
return PR_FALSE;
|
||||
}
|
||||
return PR_TRUE;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
nsCaret::nsCaret()
|
||||
|
Loading…
Reference in New Issue
Block a user