Spanked away SizeOf methods and nsIListFilter
git-svn-id: svn://10.0.0.236/trunk@17895 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -21,28 +21,6 @@
|
||||
#include "nsIStyleContext.h"
|
||||
#include "nsISizeOfHandler.h"
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsSplittableFrame::SizeOf(nsISizeOfHandler* aHandler) const
|
||||
{
|
||||
aHandler->Add(sizeof(*this));
|
||||
nsSplittableFrame::SizeOfWithoutThis(aHandler);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
void
|
||||
nsSplittableFrame::SizeOfWithoutThis(nsISizeOfHandler* aHandler) const
|
||||
{
|
||||
nsFrame::SizeOfWithoutThis(aHandler);
|
||||
if (!aHandler->HaveSeen(mPrevInFlow)) {
|
||||
mPrevInFlow->SizeOf(aHandler);
|
||||
}
|
||||
if (!aHandler->HaveSeen(mNextInFlow)) {
|
||||
mNextInFlow->SizeOf(aHandler);
|
||||
}
|
||||
}
|
||||
|
||||
// Flow member functions
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsSplittableFrame::IsSplittable(nsSplittableType& aIsSplittable) const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user