Add some NOISY_SPACEMANAGER debugging code.

This commit is contained in:
waterson%netscape.com 2002-05-07 14:08:54 +00:00
parent be96194eb0
commit 599b320791
2 changed files with 8 additions and 0 deletions

View File

@ -438,6 +438,10 @@ nsLineBox::RemoveFloatersFromSpaceManager(nsSpaceManager* aSpaceManager)
while (floaterCache) {
nsIFrame* floater = floaterCache->mPlaceholder->GetOutOfFlowFrame();
#ifdef NOISY_SPACEMANAGER
nsFrame::ListTag(stdout, floater);
printf(": Removing from space manager\n");
#endif
aSpaceManager->RemoveRegion(floater);
floaterCache = floaterCache->Next();
}

View File

@ -438,6 +438,10 @@ nsLineBox::RemoveFloatersFromSpaceManager(nsSpaceManager* aSpaceManager)
while (floaterCache) {
nsIFrame* floater = floaterCache->mPlaceholder->GetOutOfFlowFrame();
#ifdef NOISY_SPACEMANAGER
nsFrame::ListTag(stdout, floater);
printf(": Removing from space manager\n");
#endif
aSpaceManager->RemoveRegion(floater);
floaterCache = floaterCache->Next();
}