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/test/ui_test_utils.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/test/ui_test_utils.cc')
-rw-r--r-- | chrome/test/ui_test_utils.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/test/ui_test_utils.cc b/chrome/test/ui_test_utils.cc index 59663b2..8da3db3 100644 --- a/chrome/test/ui_test_utils.cc +++ b/chrome/test/ui_test_utils.cc @@ -468,7 +468,7 @@ AppModalDialog* WaitForAppModalDialog() { void CrashTab(TabContents* tab) { RenderProcessHost* rph = tab->render_view_host()->process(); - base::KillProcess(rph->process().handle(), 0, false); + base::KillProcess(rph->GetHandle(), 0, false); SimpleNotificationObserver<RenderProcessHost> crash_observer(NotificationType::RENDERER_PROCESS_CLOSED, rph); } |