diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-18 23:47:54 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-18 23:47:54 +0000 |
commit | dc993e3cc843429dd2664878de3339a69f4dc7b8 (patch) | |
tree | 638486ad332ff6cc199c18aec20ec1c62806f9b4 /chrome/common/child_process_info.h | |
parent | 4f4a13fdcca50a40cc0d761fe9bd00b643169992 (diff) | |
download | chromium_src-dc993e3cc843429dd2664878de3339a69f4dc7b8.zip chromium_src-dc993e3cc843429dd2664878de3339a69f4dc7b8.tar.gz chromium_src-dc993e3cc843429dd2664878de3339a69f4dc7b8.tar.bz2 |
Fix single-process ui test failures from my previous change. The problem was that the wrong pid was being sent to RDH from RMF. It needs to be the fake pid for the in-process renderer.
BUG=8890
Review URL: http://codereview.chromium.org/42366
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12040 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/child_process_info.h')
-rw-r--r-- | chrome/common/child_process_info.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/chrome/common/child_process_info.h b/chrome/common/child_process_info.h index 2af3e10..dc37d41 100644 --- a/chrome/common/child_process_info.h +++ b/chrome/common/child_process_info.h @@ -30,7 +30,7 @@ class ChildProcessInfo { // Getter to the process handle. base::ProcessHandle handle() const { return process_.handle(); } - int pid() const { + virtual int GetProcessId() const { if (pid_ != -1) return pid_; @@ -95,8 +95,6 @@ class ChildProcessInfo { ChildProcessInfo(ProcessType type); private: - friend class ResourceDispatcherHostTest; - ProcessType type_; std::wstring name_; mutable int pid_; // Cache of the process id. |