Remove duplicate calls in SetRuntimeFeaturesFromCommandLine
BUG=1142609 Change-Id: I24efcd9c895068c45817fe115d03e8beea526ac7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2500367 Commit-Queue: Kentaro Hara <haraken@chromium.org> Auto-Submit: Eric Lawrence [MSFT] <ericlaw@microsoft.com> Reviewed-by: Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/master@{#821244}
This commit is contained in:

committed by
Commit Bot

parent
6eb4060f52
commit
5709fb5f7e
@ -436,15 +436,9 @@ void SetRuntimeFeaturesFromCommandLine(const base::CommandLine& command_line) {
|
||||
{wrf::EnablePreciseMemoryInfo, switches::kEnablePreciseMemoryInfo, true},
|
||||
{wrf::EnableNetInfoDownlinkMax,
|
||||
switches::kEnableNetworkInformationDownlinkMax, true},
|
||||
{wrf::EnablePermissionsAPI, switches::kDisablePermissionsAPI, false},
|
||||
{wrf::EnableWebGPU, switches::kEnableUnsafeWebGPU, true},
|
||||
{wrf::EnablePresentationAPI, switches::kDisablePresentationAPI, false},
|
||||
{wrf::EnableTextFragmentAnchor, switches::kDisableScrollToTextFragment,
|
||||
false},
|
||||
{wrf::EnableRemotePlaybackAPI, switches::kDisableRemotePlaybackAPI,
|
||||
false},
|
||||
{wrf::EnableTimerThrottlingForBackgroundTabs,
|
||||
switches::kDisableBackgroundTimerThrottling, false},
|
||||
{wrf::EnableAccessibilityObjectModel,
|
||||
switches::kEnableAccessibilityObjectModel, true},
|
||||
{wrf::EnableAllowSyncXHRInPageDismissal,
|
||||
|
Reference in New Issue
Block a user