Add prefix string to style resolution timer output.

This commit is contained in:
nisheeth@netscape.com
1999-09-21 06:24:17 +00:00
parent bbc55b977b
commit be957dd725
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -1178,7 +1178,9 @@ PresShell::EndLoad(nsIDocument *aDocument)
nsresult rv = NS_OK;
nsCOMPtr<nsITimeRecorder> watch = do_QueryInterface(mStyleSet, &rv);
if (NS_SUCCEEDED(rv) && watch) {
printf("Style resolution time: ");
watch->PrintTimer(NS_TIMER_STYLE_RESOLUTION);
printf("\n");
}
#endif
return NS_OK;