Skip to content

Commit

Permalink
Tweak experiment flag check within legacy JS Profiler panel (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
huntie authored Mar 8, 2024
1 parent e43a79a commit 9370b35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion front_end/panels/profiler/ProfilesPanel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ export class JSProfilerPanel extends ProfilesPanel implements UI.ActionRegistrat
const registry = instance;
super('js_profiler', [registry.cpuProfileType], 'profiler.js-toggle-recording');
this.splitWidget().mainWidget()?.setMinimumSize(350, 0);
if (Root.Runtime.experiments.isEnabled(Root.Runtime.ExperimentName.REACT_NATIVE_SPECIFIC_UI)) {
if (!Root.Runtime.experiments.isEnabled(Root.Runtime.ExperimentName.JS_PROFILER_TEMP_ENABLE)) {
return;
}
if (Root.Runtime.experiments.isEnabled('jsProfilerTemporarilyEnable')) {
Expand Down

0 comments on commit 9370b35

Please sign in to comment.