This commit is contained in:
bzbarsky@mit.edu 2007-04-26 19:06:50 -07:00
Родитель 70adc3f844
Коммит 988c13995e
2 изменённых файлов: 0 добавлений и 23 удалений

Просмотреть файл

@ -4681,11 +4681,6 @@ PresShell::StyleSheetAdded(nsIDocument *aDocument,
aStyleSheet->GetApplicable(applicable);
if (applicable && aStyleSheet->HasRules()) {
if (mDidInitialReflow && mDocument && mDocument->GetDocumentURI()) {
nsCAutoString uri;
mDocument->GetDocumentURI()->GetSpec(uri);
printf("Sheet added after StartLayout on %s\n", uri.get());
}
mStylesHaveChanged = PR_TRUE;
}
}
@ -4700,11 +4695,6 @@ PresShell::StyleSheetRemoved(nsIDocument *aDocument,
PRBool applicable;
aStyleSheet->GetApplicable(applicable);
if (applicable && aStyleSheet->HasRules()) {
if (mDidInitialReflow && mDocument && mDocument->GetDocumentURI()) {
nsCAutoString uri;
mDocument->GetDocumentURI()->GetSpec(uri);
printf("Sheet removed after StartLayout on %s\n", uri.get());
}
mStylesHaveChanged = PR_TRUE;
}
}
@ -4715,11 +4705,6 @@ PresShell::StyleSheetApplicableStateChanged(nsIDocument *aDocument,
PRBool aApplicable)
{
if (aStyleSheet->HasRules()) {
if (mDidInitialReflow && mDocument && mDocument->GetDocumentURI()) {
nsCAutoString uri;
mDocument->GetDocumentURI()->GetSpec(uri);
printf("Sheet state toggled after StartLayout on %s\n", uri.get());
}
mStylesHaveChanged = PR_TRUE;
}
}

Просмотреть файл

@ -612,14 +612,6 @@ CanvasFrame::Reflow(nsPresContext* aPresContext,
FinishAndStoreOverflow(&aDesiredSize);
}
if (mContent && mContent->GetOwnerDoc() && mContent->GetOwnerDoc()->GetDocumentURI()) {
nsCAutoString uri;
mContent->GetOwnerDoc()->GetDocumentURI()->GetSpec(uri);
printf("Finished canvas reflow for %s:\n"
"Height: %d, overflow height: %d\n",
uri.get(), aDesiredSize.height, aDesiredSize.mOverflowArea.height);
}
NS_FRAME_TRACE_REFLOW_OUT("CanvasFrame::Reflow", aStatus);
NS_FRAME_SET_TRUNCATION(aStatus, aReflowState, aDesiredSize);
return NS_OK;