Bug 1735697 - Remove profiler_can_accept_markers(), use profiler_thread_is_being_profiled() instead - r=florian
Differential Revision: https://phabricator.services.mozilla.com/D128577
This commit is contained in:
@@ -7899,7 +7899,7 @@ nsresult nsDocShell::CreateContentViewer(const nsACString& aContentType,
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
if (!parentSite.Equals(thisSite)) {
|
||||
if (profiler_can_accept_markers()) {
|
||||
if (profiler_thread_is_being_profiled()) {
|
||||
nsCOMPtr<nsIURI> prinURI;
|
||||
BasePrincipal::Cast(thisPrincipal)->GetURI(getter_AddRefs(prinURI));
|
||||
nsPrintfCString marker("Iframe loaded in background: %s",
|
||||
|
||||
Reference in New Issue
Block a user