mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-05 05:30:29 +00:00
Add some NOISY_SPACEMANAGER debugging code.
This commit is contained in:
parent
be96194eb0
commit
599b320791
@ -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();
|
||||
}
|
||||
|
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user