summaryrefslogtreecommitdiffstats
path: root/content/gpu
diff options
context:
space:
mode:
authorjln@chromium.org <jln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-13 02:00:47 +0000
committerjln@chromium.org <jln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-13 02:00:47 +0000
commit1b73f77e889f3dbd181fed25adeb36d1f58ccd74 (patch)
tree27fff638da85841dc907b33d370291b08bc4c897 /content/gpu
parent438e3b827f556f8f307d8f728e9c4b8e797c55e6 (diff)
downloadchromium_src-1b73f77e889f3dbd181fed25adeb36d1f58ccd74.zip
chromium_src-1b73f77e889f3dbd181fed25adeb36d1f58ccd74.tar.gz
chromium_src-1b73f77e889f3dbd181fed25adeb36d1f58ccd74.tar.bz2
Linux: make current InitializeSandbox() private.
The current InitializeSandbox() is only usable from inside of content/, make it part of the content-specific LinuxSandbox class. BUG=229673 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/13814027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194072 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/gpu')
-rw-r--r--content/gpu/gpu_main.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/content/gpu/gpu_main.cc b/content/gpu/gpu_main.cc
index b916701..270a52b 100644
--- a/content/gpu/gpu_main.cc
+++ b/content/gpu/gpu_main.cc
@@ -16,6 +16,7 @@
#include "base/threading/platform_thread.h"
#include "build/build_config.h"
#include "content/common/gpu/gpu_config.h"
+#include "content/common/sandbox_linux.h"
#include "content/gpu/gpu_child_thread.h"
#include "content/gpu/gpu_info_collector.h"
#include "content/gpu/gpu_process.h"
@@ -242,7 +243,7 @@ int GpuMain(const MainFunctionParams& parameters) {
if (do_init_sandbox) {
if (watchdog_thread.get())
watchdog_thread->Stop();
- gpu_info.sandboxed = InitializeSandbox();
+ gpu_info.sandboxed = LinuxSandbox::InitializeSandbox();
if (watchdog_thread.get())
watchdog_thread->Start();
}