mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 08:15:31 +00:00
Bug 1462784 - Annotate layout-related stacks with the LAYOUT category instead of the GRAPHICS category. r=njn
MozReview-Commit-ID: 77lvtLaxgEE --HG-- extra : rebase_source : 4490268f02b60919d3c958e07afb7e3963b611c5
This commit is contained in:
parent
d911ceb72c
commit
f4978ecd63
@ -4188,7 +4188,7 @@ PresShell::DoFlushPendingNotifications(mozilla::ChangesToFlush aFlush)
|
||||
"Display"
|
||||
};
|
||||
AUTO_PROFILER_LABEL_DYNAMIC_CSTR("PresShell::DoFlushPendingNotifications",
|
||||
GRAPHICS, flushTypeNames[flushType]);
|
||||
LAYOUT, flushTypeNames[flushType]);
|
||||
#endif
|
||||
|
||||
|
||||
@ -8849,7 +8849,7 @@ PresShell::DoReflow(nsIFrame* target, bool aInterruptible)
|
||||
#ifdef MOZ_GECKO_PROFILER
|
||||
nsIURI* uri = mDocument->GetDocumentURI();
|
||||
AUTO_PROFILER_LABEL_DYNAMIC_NSCSTRING(
|
||||
"PresShell::DoReflow", GRAPHICS,
|
||||
"PresShell::DoReflow", LAYOUT,
|
||||
uri ? uri->GetSpecOrDefault() : NS_LITERAL_CSTRING("N/A"));
|
||||
#endif
|
||||
|
||||
|
@ -3111,7 +3111,7 @@ struct AutoNestedPaintCount {
|
||||
nsIFrame*
|
||||
nsLayoutUtils::GetFrameForPoint(nsIFrame* aFrame, nsPoint aPt, uint32_t aFlags)
|
||||
{
|
||||
AUTO_PROFILER_LABEL("nsLayoutUtils::GetFrameForPoint", GRAPHICS);
|
||||
AUTO_PROFILER_LABEL("nsLayoutUtils::GetFrameForPoint", LAYOUT);
|
||||
|
||||
nsresult rv;
|
||||
AutoTArray<nsIFrame*,8> outFrames;
|
||||
@ -3125,7 +3125,7 @@ nsLayoutUtils::GetFramesForArea(nsIFrame* aFrame, const nsRect& aRect,
|
||||
nsTArray<nsIFrame*> &aOutFrames,
|
||||
uint32_t aFlags)
|
||||
{
|
||||
AUTO_PROFILER_LABEL("nsLayoutUtils::GetFramesForArea", GRAPHICS);
|
||||
AUTO_PROFILER_LABEL("nsLayoutUtils::GetFramesForArea", LAYOUT);
|
||||
|
||||
nsDisplayListBuilder builder(aFrame,
|
||||
nsDisplayListBuilderMode::EVENT_DELIVERY,
|
||||
|
@ -1763,7 +1763,7 @@ nsRefreshDriver::Tick(int64_t aNowEpoch, TimeStamp aNowTime)
|
||||
return;
|
||||
}
|
||||
|
||||
AUTO_PROFILER_LABEL("nsRefreshDriver::Tick", GRAPHICS);
|
||||
AUTO_PROFILER_LABEL("nsRefreshDriver::Tick", LAYOUT);
|
||||
|
||||
// We're either frozen or we were disconnected (likely in the middle
|
||||
// of a tick iteration). Just do nothing here, since our
|
||||
|
Loading…
Reference in New Issue
Block a user