mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 05:45:37 +00:00
LengthOf defined in both debug and non-debug builds
This commit is contained in:
parent
80da8477a1
commit
1ed0f3ea0a
@ -1094,9 +1094,6 @@ NS_METHOD nsContainerFrame::VerifyTree() const
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifdef NS_DEBUG
|
||||
PRInt32 nsContainerFrame::LengthOf(nsIFrame* aFrame)
|
||||
{
|
||||
PRInt32 result = 0;
|
||||
@ -1109,6 +1106,10 @@ PRInt32 nsContainerFrame::LengthOf(nsIFrame* aFrame)
|
||||
return result;
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifdef NS_DEBUG
|
||||
|
||||
PRBool nsContainerFrame::IsChild(const nsIFrame* aChild) const
|
||||
{
|
||||
// Check the geometric parent
|
||||
|
Loading…
Reference in New Issue
Block a user