Skip to content

Commit 1395fe8

Browse files
committed
www: remove dynamic feature flag enableSchedulingProfiler
1 parent 395e2fc commit 1395fe8

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

packages/shared/forks/ReactFeatureFlags.www-dynamic.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ export const disableLegacyMode = __VARIANT__;
4040
// NOTE: This feature will only work in DEV mode; all callsites are wrapped with __DEV__.
4141
export const enableDebugTracing = __EXPERIMENTAL__;
4242

43-
export const enableSchedulingProfiler = __VARIANT__;
44-
4543
export const enableInfiniteRenderLoopDetection = __VARIANT__;
4644

4745
// TODO: These flags are hard-coded to the default values used in open source.

packages/shared/forks/ReactFeatureFlags.www.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ export const disableInputAttributeSyncing = false;
6060
export const enableLegacyFBSupport = true;
6161

6262
// Logs additional User Timing API marks for use with an experimental profiling tool.
63-
export const enableSchedulingProfiler: boolean =
64-
__PROFILE__ && dynamicFeatureFlags.enableSchedulingProfiler;
63+
export const enableSchedulingProfiler = __PROFILE__;
6564

6665
export const disableLegacyContext = __EXPERIMENTAL__;
6766
export const enableGetInspectorDataForInstanceInProduction = false;

0 commit comments

Comments
 (0)