Added SizeOf() handler for floater information maintained by the
line box git-svn-id: svn://10.0.0.236/trunk@49644 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -5605,12 +5605,16 @@ nsBlockFrame::SizeOf(nsISizeOfHandler* aHandler, PRUint32* aResult) const
|
||||
// Add in size of each line object
|
||||
nsLineBox* line = mLines;
|
||||
while (line) {
|
||||
aHandler->AddSize(nsLayoutAtoms::lineBox, sizeof(nsLineBox));
|
||||
PRUint32 lineBoxSize;
|
||||
line->SizeOf(aHandler, &lineBoxSize);
|
||||
aHandler->AddSize(nsLayoutAtoms::lineBox, lineBoxSize);
|
||||
line = line->mNext;
|
||||
}
|
||||
line = mOverflowLines;
|
||||
while (line) {
|
||||
aHandler->AddSize(nsLayoutAtoms::lineBox, sizeof(nsLineBox));
|
||||
PRUint32 lineBoxSize;
|
||||
line->SizeOf(aHandler, &lineBoxSize);
|
||||
aHandler->AddSize(nsLayoutAtoms::lineBox, lineBoxSize);
|
||||
line = line->mNext;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user