зеркало из https://github.com/mozilla/gecko-dev.git
Bug 99319, Silence startup printf "Note: styleverifytree is disabled" and friends in the "disabled" case. Patch by Ryan Jones, r+sr=bzbarsky.
This commit is contained in:
Родитель
06afef0f24
Коммит
1df32e680d
|
@ -1284,9 +1284,8 @@ nsIPresShell::GetVerifyReflowEnable()
|
|||
|
||||
if (VERIFY_REFLOW_ON & gVerifyReflowFlags) {
|
||||
gVerifyReflowEnabled = PR_TRUE;
|
||||
}
|
||||
printf("Note: verifyreflow is %sabled",
|
||||
gVerifyReflowEnabled ? "en" : "dis");
|
||||
|
||||
printf("Note: verifyreflow is enabled");
|
||||
if (VERIFY_REFLOW_NOISY & gVerifyReflowFlags) {
|
||||
printf(" (noisy)");
|
||||
}
|
||||
|
@ -1304,6 +1303,7 @@ nsIPresShell::GetVerifyReflowEnable()
|
|||
}
|
||||
printf("\n");
|
||||
}
|
||||
}
|
||||
#endif
|
||||
return gVerifyReflowEnabled;
|
||||
}
|
||||
|
|
|
@ -216,8 +216,6 @@ nsIFrameDebug::GetVerifyTreeEnable()
|
|||
if (nsnull == gFrameVerifyTreeLogModuleInfo) {
|
||||
gFrameVerifyTreeLogModuleInfo = PR_NewLogModule("frameverifytree");
|
||||
gFrameVerifyTreeEnable = 0 != gFrameVerifyTreeLogModuleInfo->level;
|
||||
printf("Note: frameverifytree is %sabled\n",
|
||||
gFrameVerifyTreeEnable ? "en" : "dis");
|
||||
}
|
||||
}
|
||||
return gFrameVerifyTreeEnable;
|
||||
|
@ -240,8 +238,6 @@ nsIFrameDebug::GetVerifyStyleTreeEnable()
|
|||
if (nsnull == gStyleVerifyTreeLogModuleInfo) {
|
||||
gStyleVerifyTreeLogModuleInfo = PR_NewLogModule("styleverifytree");
|
||||
gStyleVerifyTreeEnable = 0 != gStyleVerifyTreeLogModuleInfo->level;
|
||||
printf("Note: styleverifytree is %sabled\n",
|
||||
gStyleVerifyTreeEnable ? "en" : "dis");
|
||||
}
|
||||
}
|
||||
return gStyleVerifyTreeEnable;
|
||||
|
|
Загрузка…
Ссылка в новой задаче