Reduce GPU sandbox level on NVIDIA optimus computers.
We've noticed a higher crash rate on computers that are using NVIDIA optimus since the most restrictive GPU process sandboxing was added, so add code to detect them and reduce the sandboxing back to M17 levels.
BUG=110552
TEST=
Review URL: https://chromiumcodereview.appspot.com/9334009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120651 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/content/public/common/gpu_info.cc b/content/public/common/gpu_info.cc
index c1c996b..b4e17f6d 100644
--- a/content/public/common/gpu_info.cc
+++ b/content/public/common/gpu_info.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -8,6 +8,7 @@
GPUInfo::GPUInfo()
: finalized(false),
+ optimus(false),
vendor_id(0),
device_id(0),
can_lose_context(false) {