Hooked up SizeOf() for cell map and table layout strategies. Also added in
some table frame data that was missed
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsCSSRendering.h"
|
||||
#include "nsIPresShell.h"
|
||||
#include "nsLayoutAtoms.h"
|
||||
|
||||
NS_DEF_PTR(nsIContent);
|
||||
|
||||
@@ -695,6 +696,15 @@ NS_NewTableColGroupFrame(nsIFrame** aNewFrame)
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsTableColGroupFrame::GetFrameType(nsIAtom** aType) const
|
||||
{
|
||||
NS_PRECONDITION(nsnull != aType, "null OUT parameter pointer");
|
||||
*aType = nsLayoutAtoms::tableColGroupFrame;
|
||||
NS_ADDREF(*aType);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsTableColGroupFrame::GetFrameName(nsString& aResult) const
|
||||
{
|
||||
@@ -709,7 +719,6 @@ nsTableColGroupFrame::SizeOf(nsISizeOfHandler* aHandler, PRUint32* aResult) cons
|
||||
return NS_ERROR_NULL_POINTER;
|
||||
}
|
||||
PRUint32 sum = sizeof(*this);
|
||||
// XXX write me
|
||||
*aResult = sum;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user