зеркало из https://github.com/mozilla/gecko-dev.git
Make the frame dump in CheckFloats() DEBUG_roc only. b=322436 r+sr=roc
This commit is contained in:
Родитель
de7e7f2b09
Коммит
914a48ea72
|
@ -7086,6 +7086,7 @@ nsBlockFrame::CheckFloats(nsBlockReflowState& aState)
|
|||
|
||||
if (!equal || lineFloats.Count() != storedFloats.Count()) {
|
||||
NS_WARNING("nsBlockFrame::CheckFloats: Explicit float list is out of sync with float cache");
|
||||
#if defined(DEBUG_roc)
|
||||
nsIFrameDebug::RootFrameList(GetPresContext(), stdout, 0);
|
||||
for (i = 0; i < lineFloats.Count(); ++i) {
|
||||
printf("Line float: %p\n", lineFloats.ElementAt(i));
|
||||
|
@ -7093,6 +7094,7 @@ nsBlockFrame::CheckFloats(nsBlockReflowState& aState)
|
|||
for (i = 0; i < storedFloats.Count(); ++i) {
|
||||
printf("Stored float: %p\n", storedFloats.ElementAt(i));
|
||||
}
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче