Index: content/common/sandbox_linux/bpf_gpu_policy_linux.cc |
diff --git a/content/common/sandbox_linux/bpf_gpu_policy_linux.cc b/content/common/sandbox_linux/bpf_gpu_policy_linux.cc |
index 2460f02b65febb15e848fcba0a8315eaa2208906..b119c4251fc0fd5e36fd149654ae3343763b050f 100644 |
--- a/content/common/sandbox_linux/bpf_gpu_policy_linux.cc |
+++ b/content/common/sandbox_linux/bpf_gpu_policy_linux.cc |
@@ -73,15 +73,8 @@ inline bool IsArchitectureArm() { |
} |
bool IsAcceleratedVideoDecodeEnabled() { |
- // Accelerated video decode is currently enabled on Chrome OS, |
- // but not on Linux: crbug.com/137247. |
- bool is_enabled = IsChromeOS(); |
- |
const CommandLine& command_line = *CommandLine::ForCurrentProcess(); |
- is_enabled &= |
- !command_line.HasSwitch(switches::kDisableAcceleratedVideoDecode); |
- |
- return is_enabled; |
+ return !command_line.HasSwitch(switches::kDisableAcceleratedVideoDecode); |
} |
intptr_t GpuSIGSYS_Handler(const struct arch_seccomp_data& args, |