Bug 1663554 - Convert PROFILER_ADD_TEXT_MARKER and friends to PROFILER_MARKER_TEXT - r=gregtatum
Mostly mechanical changes, with some work needed to convert the different payloads (with optional timestamps, inner window id, and/or backtrace) to the equivalent MarkerOptions. Differential Revision: https://phabricator.services.mozilla.com/D89587
This commit is contained in:
@@ -7769,10 +7769,7 @@ nsresult nsDocShell::CreateContentViewer(const nsACString& aContentType,
|
||||
BasePrincipal::Cast(thisPrincipal)->GetURI(getter_AddRefs(prinURI));
|
||||
nsPrintfCString marker("Iframe loaded in background: %s",
|
||||
prinURI->GetSpecOrDefault().get());
|
||||
TimeStamp now = TimeStamp::Now();
|
||||
profiler_add_text_marker("Background Iframe", marker,
|
||||
JS::ProfilingCategoryPair::DOM, now, now,
|
||||
Nothing());
|
||||
PROFILER_MARKER_TEXT("Background Iframe", DOM, marker);
|
||||
#endif
|
||||
SetBackgroundLoadIframe();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user