Bug 1889615 - Fix profiler label in nsFrameMessageManager::SendSyncMessage. r=Gijs DONTBUILD

Differential Revision: https://phabricator.services.mozilla.com/D206626
This commit is contained in:
Andrew McCreight 2024-04-04 13:20:45 +00:00
parent 5c3cf2d4f7
commit 35f71d4d43

View File

@ -506,7 +506,7 @@ void nsFrameMessageManager::SendSyncMessage(JSContext* aCx,
"Should not have parent manager in content!");
AUTO_PROFILER_LABEL_DYNAMIC_LOSSY_NSSTRING(
"nsFrameMessageManager::SendMessage", OTHER, aMessageName);
"nsFrameMessageManager::SendSyncMessage", OTHER, aMessageName);
profiler_add_marker("SendSyncMessage", geckoprofiler::category::IPC, {},
FrameMessageMarker{}, aMessageName, true);