diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-29 18:34:20 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-29 18:34:20 +0000 |
commit | 52356d21dd088abc0bf57303ceb5399c7cd998ef (patch) | |
tree | 5a36808d51449c3eaeaff102a20d99f01735d685 /chrome/browser/memory_details.cc | |
parent | 62de8837965ca7ad93bdd72f4061b3243ab5731d (diff) | |
download | chromium_src-52356d21dd088abc0bf57303ceb5399c7cd998ef.zip chromium_src-52356d21dd088abc0bf57303ceb5399c7cd998ef.tar.gz chromium_src-52356d21dd088abc0bf57303ceb5399c7cd998ef.tar.bz2 |
Remove render_sandbox_host_linux.h include from chrome. It was only used to get the pid of that process, so added a method to the ZygoteHost interface to return it instead.
BUG=98716
Review URL: https://chromiumcodereview.appspot.com/9536019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124209 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/memory_details.cc')
-rw-r--r-- | chrome/browser/memory_details.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/memory_details.cc b/chrome/browser/memory_details.cc index a44f50a..769bc4c 100644 --- a/chrome/browser/memory_details.cc +++ b/chrome/browser/memory_details.cc @@ -32,7 +32,6 @@ #include "ui/base/l10n/l10n_util.h" #if defined(OS_POSIX) && !defined(OS_MACOSX) -#include "content/browser/renderer_host/render_sandbox_host_linux.h" #include "content/public/browser/zygote_host_linux.h" #endif @@ -157,7 +156,8 @@ void MemoryDetails::CollectChildInfoOnUIThread() { #if defined(OS_POSIX) && !defined(OS_MACOSX) const pid_t zygote_pid = content::ZygoteHost::GetInstance()->GetPid(); - const pid_t sandbox_helper_pid = RenderSandboxHostLinux::GetInstance()->pid(); + const pid_t sandbox_helper_pid = + content::ZygoteHost::GetInstance()->GetSandboxHelperPid(); #endif ProcessData* const chrome_browser = ChromeBrowser(); |