diff options
author | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-11 22:35:19 +0000 |
---|---|---|
committer | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-11 22:35:19 +0000 |
commit | 2f15de4cf410a5d260958a84f7ff5acb5ed93b42 (patch) | |
tree | 23154cfe6dcb10d0af1349d5926820b10c602383 /chrome/browser/debugger/debugger_node.cc | |
parent | e688331d8e7086a71a55033a3ad14cc8b018799b (diff) | |
download | chromium_src-2f15de4cf410a5d260958a84f7ff5acb5ed93b42.zip chromium_src-2f15de4cf410a5d260958a84f7ff5acb5ed93b42.tar.gz chromium_src-2f15de4cf410a5d260958a84f7ff5acb5ed93b42.tar.bz2 |
Remove some Windows-specific stuff from RenderProcessHost by having callers get the process handle and PID directly from the corresponding Process object.
Review URL: http://codereview.chromium.org/10608
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5219 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/debugger/debugger_node.cc')
-rw-r--r-- | chrome/browser/debugger/debugger_node.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/debugger/debugger_node.cc b/chrome/browser/debugger/debugger_node.cc index 23b2cef..de5d3a6 100644 --- a/chrome/browser/debugger/debugger_node.cc +++ b/chrome/browser/debugger/debugger_node.cc @@ -326,7 +326,7 @@ v8::Handle<v8::Value> TabNode::Attach(const v8::Arguments& args, RenderViewHost* host = web->render_view_host(); host->DebugAttach(); RenderProcessHost* proc = host->process(); - return v8::Int32::New(process_util::GetProcId(proc->process())); + return v8::Int32::New(proc->process().pid()); } v8::Handle<v8::Value> TabNode::Detach(const v8::Arguments& args, @@ -334,7 +334,7 @@ v8::Handle<v8::Value> TabNode::Detach(const v8::Arguments& args, RenderViewHost* host = web->render_view_host(); host->DebugDetach(); RenderProcessHost* proc = host->process(); - return v8::Int32::New(process_util::GetProcId(proc->process())); + return v8::Int32::New(proc->process().pid()); } v8::Handle<v8::Value> TabNode::Break(const v8::Arguments& args, |