Bug 1500692 - Centralize profiling category definition and add infrastructure for subcategories. r=njn
The actual subcategories will be added in later patches, so that there are no unused categories. Differential Revision: https://phabricator.services.mozilla.com/D11334
This commit is contained in:
@@ -8881,7 +8881,7 @@ bool nsIPresShell::DoReflow(nsIFrame* target, bool aInterruptible,
|
||||
#ifdef MOZ_GECKO_PROFILER
|
||||
DECLARE_DOCSHELL_AND_HISTORY_ID(docShell);
|
||||
AutoProfilerTracing tracingLayoutFlush(
|
||||
"Paint", "Reflow", js::ProfilingStackFrame::Category::LAYOUT,
|
||||
"Paint", "Reflow", JS::ProfilingCategoryPair::LAYOUT,
|
||||
std::move(mReflowCause), docShellId, docShellHistoryId);
|
||||
mReflowCause = nullptr;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user