| Index: content/browser/gpu/compositor_util.cc
|
| diff --git a/content/browser/gpu/compositor_util.cc b/content/browser/gpu/compositor_util.cc
|
| index 66de1fe131eb1e593766ddef1cd4935ecfb7a680..21140f34905e98ba85dd3725db54a77091361fec 100644
|
| --- a/content/browser/gpu/compositor_util.cc
|
| +++ b/content/browser/gpu/compositor_util.cc
|
| @@ -242,21 +242,8 @@ bool IsGpuMemoryBufferCompositorResourcesEnabled() {
|
| }
|
|
|
| bool IsGpuRasterizationEnabled() {
|
| - const base::CommandLine& command_line =
|
| - *base::CommandLine::ForCurrentProcess();
|
| -
|
| - if (command_line.HasSwitch(switches::kDisableGpuRasterization))
|
| - return false;
|
| - else if (command_line.HasSwitch(switches::kEnableGpuRasterization))
|
| - return true;
|
| -
|
| - if (IsGpuRasterizationBlacklisted()) {
|
| - return false;
|
| - }
|
| -
|
| - // Gpu Rasterization on platforms that are not fully enabled is controlled by
|
| - // a finch experiment.
|
| - return base::FeatureList::IsEnabled(features::kDefaultEnableGpuRasterization);
|
| + GpuDataManagerImpl* manager = GpuDataManagerImpl::GetInstance();
|
| + return manager->IsFeatureEnabled(gpu::GPU_FEATURE_TYPE_GPU_RASTERIZATION);
|
| }
|
|
|
| bool IsAsyncWorkerContextEnabled() {
|
|
|