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

Unified Diff: content/gpu/gpu_main.cc

Issue 385463005: about:gpu doesn't report sanboxing status correctly on OSX (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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 73762ad241c8dd75919f0d1680801459b7f88d23..c79e6ba2c863a033fa8685f4bf5e5ef586f8dfa7 100644
--- a/content/gpu/gpu_main.cc
+++ b/content/gpu/gpu_main.cc
@@ -54,6 +54,7 @@
#if defined(OS_MACOSX)
#include "base/message_loop/message_pump_mac.h"
+#include "content/common/sandbox_mac.h"
#endif
#if defined(ADDRESS_SANITIZER)
@@ -320,6 +321,8 @@ int GpuMain(const MainFunctionParams& parameters) {
}
#elif defined(OS_WIN)
gpu_info.sandboxed = StartSandboxWindows(parameters.sandbox_info);
+#elif defined(OS_MACOSX)
+ gpu_info.sandboxed = Sandbox::SandboxIsCurrentlyActive();
#endif
} else {
dead_on_arrival = true;
« 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