mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 785287 - Profiler: Add the document URL in DoReflow. r=roc
--HG-- extra : rebase_source : 816fc213bdc9e3201913f8df944a2a84e6f33bfc
This commit is contained in:
parent
489fcb2941
commit
9c58fbf74c
@ -7347,7 +7347,12 @@ bool
|
||||
PresShell::DoReflow(nsIFrame* target, bool aInterruptible)
|
||||
{
|
||||
NS_TIME_FUNCTION_WITH_DOCURL;
|
||||
SAMPLE_LABEL("layout", "DoReflow");
|
||||
|
||||
nsCAutoString docURL("N/A");
|
||||
nsIURI *uri = mDocument->GetDocumentURI();
|
||||
if (uri)
|
||||
uri->GetSpec(docURL);
|
||||
SAMPLE_LABEL_PRINTF("layout", "DoReflow", "(%s)", docURL.get());
|
||||
|
||||
if (mReflowContinueTimer) {
|
||||
mReflowContinueTimer->Cancel();
|
||||
|
Loading…
Reference in New Issue
Block a user