зеркало из https://github.com/mozilla/pjs.git
Put back this test code for one run so I can get data from Tp/Tp2
This commit is contained in:
Родитель
f360e6f92c
Коммит
0bee112428
|
@ -612,6 +612,14 @@ 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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче