diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-13 18:57:46 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-13 18:57:46 +0000 |
commit | 201b273dda785bdf5559cefa83c7955fd4aefeba (patch) | |
tree | 8f1bca5b3d307dcbdb2184557f6e791033c0a32c /chrome/browser/views/hung_renderer_view.cc | |
parent | 15cf713daabbba9e96ee2b9372de56941b7a46a2 (diff) | |
download | chromium_src-201b273dda785bdf5559cefa83c7955fd4aefeba.zip chromium_src-201b273dda785bdf5559cefa83c7955fd4aefeba.tar.gz chromium_src-201b273dda785bdf5559cefa83c7955fd4aefeba.tar.bz2 |
Small clean-up to not expose base::Process from RenderProcesHost, and instead only expose base::ProcessHandle. Precursor to moving process startup off the UI thread.
Review URL: http://codereview.chromium.org/387047
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31922 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/hung_renderer_view.cc')
-rw-r--r-- | chrome/browser/views/hung_renderer_view.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/views/hung_renderer_view.cc b/chrome/browser/views/hung_renderer_view.cc index 560dbb3..d73a0fc 100644 --- a/chrome/browser/views/hung_renderer_view.cc +++ b/chrome/browser/views/hung_renderer_view.cc @@ -316,8 +316,7 @@ void HungRendererDialogView::ButtonPressed( views::Button* sender, const views::Event& event) { if (sender == kill_button_) { // Kill the process. - HANDLE process = contents_->process()->process().handle(); - TerminateProcess(process, ResultCodes::HUNG); + TerminateProcess(contents_->process()->GetHandle(), ResultCodes::HUNG); } } |