Skip to content

Commit ba292d9

Browse files
committed
Use correct experiment
1 parent 977d403 commit ba292d9

3 files changed

Lines changed: 2 additions & 3 deletions

File tree

front_end/entrypoints/main/MainImpl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ export class MainImpl {
302302
Root.Runtime.ExperimentName.TIMELINE_DEBUG_MODE,
303303
'Performance panel: Enable debug mode (trace event details, etc)', true);
304304

305-
// Debugging
305+
// Debugging
306306
Root.Runtime.experiments.register('instrumentation-breakpoints', 'Enable instrumentation breakpoints', true);
307307
Root.Runtime.experiments.register('use-source-map-scopes', 'Use scope information from source maps', true);
308308

front_end/panels/timeline/TimelineFlameChartDataProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ export class TimelineFlameChartDataProvider extends Common.ObjectWrapper.ObjectW
608608
// In CPU Profiles the trace data will not have frames nor
609609
// screenshots, so we can keep this call as it will be a no-op in
610610
// these cases.
611-
if (Root.Runtime.experiments.isEnabled(Root.Runtime.ExperimentName.TIMELINE_FRAMES)) {
611+
if (Root.Runtime.experiments.isEnabled(Root.Runtime.RNExperimentName.ENABLE_TIMELINE_FRAMES)) {
612612
this.#appendFramesAndScreenshotsTrack();
613613
}
614614

front_end/testing/EnvironmentHelpers.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ const REGISTERED_EXPERIMENTS = [
128128
Root.Runtime.ExperimentName.TIMELINE_EXPERIMENTAL_INSIGHTS,
129129
Root.Runtime.ExperimentName.TIMELINE_DIM_UNRELATED_EVENTS,
130130
Root.Runtime.ExperimentName.TIMELINE_ALTERNATIVE_NAVIGATION,
131-
Root.Runtime.ExperimentName.TIMELINE_FRAMES,
132131
Root.Runtime.ExperimentName.REACT_NATIVE_SPECIFIC_UI,
133132
Root.Runtime.ExperimentName.NOT_REACT_NATIVE_SPECIFIC_UI,
134133
];

0 commit comments

Comments
 (0)