From 1e6ef6c000c406a2c7980bd527068a18327a808e Mon Sep 17 00:00:00 2001 From: "jorgelo@chromium.org" Date: Wed, 18 Dec 2013 04:20:41 +0000 Subject: Add a flag to make GPU sandbox failures nonfatal. BUG=327824 TEST=chromeos=1 compiles, loads. Review URL: https://codereview.chromium.org/117463002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241480 0039d316-1c4b-4281-b951-d872f2087c98 --- content/browser/gpu/gpu_process_host.cc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'content') diff --git a/content/browser/gpu/gpu_process_host.cc b/content/browser/gpu/gpu_process_host.cc index 1b7da1c..3d0544d 100644 --- a/content/browser/gpu/gpu_process_host.cc +++ b/content/browser/gpu/gpu_process_host.cc @@ -48,6 +48,10 @@ #include "ui/surface/accelerated_surface_win.h" #endif +#if defined(OS_CHROMEOS) +#include "chromeos/chromeos_switches.h" +#endif + #if defined(USE_OZONE) #include "ui/ozone/ozone_switches.h" #endif @@ -1133,6 +1137,9 @@ bool GpuProcessHost::LaunchGpuProcess(const std::string& channel_id) { #if defined(OS_MACOSX) switches::kEnableSandboxLogging, #endif +#if defined(OS_CHROMEOS) + chromeos::switches::kGpuSandboxFailuresNonfatal, +#endif #if defined(USE_AURA) switches::kUIPrioritizeInGpuProcess, #endif -- cgit v1.1