Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Unified Diff: content/gpu/gpu_main.cc

Issue 10388063: Disable Chrome OS seccomp filter GPU sandbox. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Move #ifdef to call site. Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_main.cc
diff --git a/content/gpu/gpu_main.cc b/content/gpu/gpu_main.cc
index 816bb3916f9b26976ab98a951e6f29f722e1ad58..031684a13bbadd92ecc7cfe9d2b77468cd54ff30 100644
--- a/content/gpu/gpu_main.cc
+++ b/content/gpu/gpu_main.cc
@@ -99,11 +99,11 @@ int GpuMain(const content::MainFunctionParams& parameters) {
dead_on_arrival = true;
}
- // Warm up the random subsystem, which needs to done pre-sandbox on all
+ // Warm up the random subsystem, which needs to be done pre-sandbox on all
// platforms.
(void) base::RandUint64();
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
content::InitializeSandbox();
#endif
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698