Index: content/gpu/gpu_main.cc |
diff --git a/content/gpu/gpu_main.cc b/content/gpu/gpu_main.cc |
index 3dfba0cc5307e0822001e879c1406de1e21f4955..6f89f7e2e849df4328f75c7b26b7553651853363 100644 |
--- a/content/gpu/gpu_main.cc |
+++ b/content/gpu/gpu_main.cc |
@@ -74,7 +74,7 @@ |
#include "content/common/sandbox_mac.h" |
#endif |
-#if defined(OS_CHROMEOS) && defined(ARCH_CPU_X86_FAMILY) |
+#if (defined(OS_CHROMEOS) || defined(OS_LINUX)) && defined(ARCH_CPU_X86_FAMILY) |
#include "content/common/gpu/media/vaapi_wrapper.h" |
#endif |
@@ -245,7 +245,7 @@ int GpuMain(const MainFunctionParams& parameters) { |
GetGpuInfoFromCommandLine(gpu_info, command_line); |
gpu_info.in_process_gpu = false; |
-#if defined(OS_CHROMEOS) && defined(ARCH_CPU_X86_FAMILY) |
+#if (defined(OS_CHROMEOS) || defined(OS_LINUX)) && defined(ARCH_CPU_X86_FAMILY) |
VaapiWrapper::PreSandboxInitialization(); |
#endif |