mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Put back this test code for one run so I can get data from Tp/Tp2
This commit is contained in:
parent
2172c60660
commit
013df0d678
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user