Commit 5709fb5f authored by Eric Lawrence [MSFT]'s avatar Eric Lawrence [MSFT] Committed by Commit Bot

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: default avatarKentaro Hara <haraken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#821244}
parent 6eb4060f
...@@ -436,15 +436,9 @@ void SetRuntimeFeaturesFromCommandLine(const base::CommandLine& command_line) { ...@@ -436,15 +436,9 @@ void SetRuntimeFeaturesFromCommandLine(const base::CommandLine& command_line) {
{wrf::EnablePreciseMemoryInfo, switches::kEnablePreciseMemoryInfo, true}, {wrf::EnablePreciseMemoryInfo, switches::kEnablePreciseMemoryInfo, true},
{wrf::EnableNetInfoDownlinkMax, {wrf::EnableNetInfoDownlinkMax,
switches::kEnableNetworkInformationDownlinkMax, true}, switches::kEnableNetworkInformationDownlinkMax, true},
{wrf::EnablePermissionsAPI, switches::kDisablePermissionsAPI, false},
{wrf::EnableWebGPU, switches::kEnableUnsafeWebGPU, true}, {wrf::EnableWebGPU, switches::kEnableUnsafeWebGPU, true},
{wrf::EnablePresentationAPI, switches::kDisablePresentationAPI, false},
{wrf::EnableTextFragmentAnchor, switches::kDisableScrollToTextFragment, {wrf::EnableTextFragmentAnchor, switches::kDisableScrollToTextFragment,
false}, false},
{wrf::EnableRemotePlaybackAPI, switches::kDisableRemotePlaybackAPI,
false},
{wrf::EnableTimerThrottlingForBackgroundTabs,
switches::kDisableBackgroundTimerThrottling, false},
{wrf::EnableAccessibilityObjectModel, {wrf::EnableAccessibilityObjectModel,
switches::kEnableAccessibilityObjectModel, true}, switches::kEnableAccessibilityObjectModel, true},
{wrf::EnableAllowSyncXHRInPageDismissal, {wrf::EnableAllowSyncXHRInPageDismissal,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment