Reimplemented SizeOf methods in some of the frame classes; partial rework of first-line handling snapshot

git-svn-id: svn://10.0.0.236/trunk@45274 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kipp%netscape.com
1999-08-31 03:09:40 +00:00
parent 9f5b856289
commit c9002f20df
101 changed files with 2760 additions and 1522 deletions

View File

@@ -227,6 +227,8 @@ public:
NS_IMETHOD GetFrameName(nsString& aResult) const;
NS_IMETHOD SizeOf(nsISizeOfHandler* aHandler, PRUint32* aResult) const;
NS_IMETHOD GetPosition(nsIPresContext& aCX,
nscoord aXCoord,
nsIContent ** aNewContent,
@@ -3072,6 +3074,16 @@ nsTextFrame::GetFrameType(nsIAtom** aType) const
return NS_OK;
}
NS_IMETHODIMP
nsTextFrame::SizeOf(nsISizeOfHandler* aHandler, PRUint32* aResult) const
{
if (!aResult) {
return NS_ERROR_NULL_POINTER;
}
*aResult = sizeof(*this);
return NS_OK;
}
NS_IMETHODIMP
nsTextFrame::GetFrameName(nsString& aResult) const
{