summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/hung_renderer_view.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-13 18:57:46 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-13 18:57:46 +0000
commit201b273dda785bdf5559cefa83c7955fd4aefeba (patch)
tree8f1bca5b3d307dcbdb2184557f6e791033c0a32c /chrome/browser/views/hung_renderer_view.cc
parent15cf713daabbba9e96ee2b9372de56941b7a46a2 (diff)
downloadchromium_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.cc3
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);
}
}