Bug 1913624 - Remove expired telemetry histogram PRESSHELL_LAYOUT_TOTAL_MS_PER_TICK, r=TravisLong.

Depends on D219468

Differential Revision: https://phabricator.services.mozilla.com/D219469
This commit is contained in:
Florian Quèze
2024-08-20 20:56:48 +00:00
parent fa9af57f3d
commit c1d775c929
6 changed files with 0 additions and 180 deletions

View File

@@ -25,7 +25,6 @@
#include "mozilla/ContentIterator.h"
#include "mozilla/css/ImageLoader.h"
#include "mozilla/DisplayPortUtils.h"
#include "mozilla/layout/LayoutTelemetryTools.h"
#include "mozilla/dom/AncestorIterator.h"
#include "mozilla/dom/BrowserBridgeChild.h"
#include "mozilla/dom/BrowserChild.h"
@@ -4368,7 +4367,6 @@ void PresShell::DoFlushPendingNotifications(mozilla::ChangesToFlush aFlush) {
AutoProfilerStyleMarker tracingStyleFlush(std::move(mStyleCause),
innerWindowID);
PerfStats::AutoMetricRecording<PerfStats::Metric::Styling> autoRecording;
LAYOUT_TELEMETRY_RECORD(Restyle);
mPresContext->RestyleManager()->ProcessPendingRestyles();
mNeedStyleFlush = false;
@@ -9811,8 +9809,6 @@ bool PresShell::DoReflow(nsIFrame* target, bool aInterruptible,
AUTO_PROFILER_LABEL_DYNAMIC_NSCSTRING_RELEVANT_FOR_JS(
"Reflow", LAYOUT_Reflow, uri ? uri->GetSpecOrDefault() : "N/A"_ns);
LAYOUT_TELEMETRY_RECORD(Reflow);
PerfStats::AutoMetricRecording<PerfStats::Metric::Reflowing> autoRecording;
gfxTextPerfMetrics* tp = mPresContext->GetTextPerfMetrics();