diff options
author | jorgelo@chromium.org <jorgelo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-19 03:21:26 +0000 |
---|---|---|
committer | jorgelo@chromium.org <jorgelo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-19 03:21:26 +0000 |
commit | 85a07f721a62e39dc4aec6c24291a22c44078062 (patch) | |
tree | 0bdd796cdee3cf4f7fbbf3d9e03e0e1435da25ca | |
parent | 237d1b797550bf2461dd57908e9cdb7bdc03b115 (diff) | |
download | chromium_src-85a07f721a62e39dc4aec6c24291a22c44078062.zip chromium_src-85a07f721a62e39dc4aec6c24291a22c44078062.tar.gz chromium_src-85a07f721a62e39dc4aec6c24291a22c44078062.tar.bz2 |
Revert "Add env var for GPU process sandbox."
Now that we implemented a hook for open(), we don't need the env var
anymore.
BUG=127664
TEST=Bastion still loads on Chrome OS.
Review URL: https://chromiumcodereview.appspot.com/10790061
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147385 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | content/gpu/gpu_main.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/content/gpu/gpu_main.cc b/content/gpu/gpu_main.cc index 40d759c..75ab303 100644 --- a/content/gpu/gpu_main.cc +++ b/content/gpu/gpu_main.cc @@ -9,7 +9,6 @@ #endif #include "base/debug/trace_event.h" -#include "base/environment.h" #include "base/message_loop.h" #include "base/rand_util.h" #include "base/string_number_conversions.h" @@ -96,13 +95,6 @@ int GpuMain(const content::MainFunctionParams& parameters) { command_line.GetSwitchValueASCII(switches::kGpuDriverVersion); content::GetContentClient()->SetGpuInfo(gpu_info); -#if defined(OS_CHROMEOS) - // On Chrome OS, we can now sandbox the GPU process using seccomp filter. - // This restricts calls to open(), so set the config line in /etc/drirc as - // an environment variable. - base::Environment::Create()->SetVar("force_s3tc_enable", "true"); -#endif - // Load and initialize the GL implementation and locate the GL entry points. if (gfx::GLSurface::InitializeOneOff()) { #if defined(OS_LINUX) |