diff options
author | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-17 17:46:15 +0000 |
---|---|---|
committer | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-17 17:46:15 +0000 |
commit | 3bbacc5b619339e2607301a0e48672350b97cb74 (patch) | |
tree | b65bef4be8eafd514028b20174cf1484aa7515f3 /content/browser/child_process_security_policy_browsertest.cc | |
parent | 1dda5abef8ef78f0579b3ea27458d33cca2cc78f (diff) | |
download | chromium_src-3bbacc5b619339e2607301a0e48672350b97cb74.zip chromium_src-3bbacc5b619339e2607301a0e48672350b97cb74.tar.gz chromium_src-3bbacc5b619339e2607301a0e48672350b97cb74.tar.bz2 |
TabContents -> WebContentsImpl, part 19.
BUG=105875
TEST=no change
Review URL: http://codereview.chromium.org/10106022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132599 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/child_process_security_policy_browsertest.cc')
-rw-r--r-- | content/browser/child_process_security_policy_browsertest.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/content/browser/child_process_security_policy_browsertest.cc b/content/browser/child_process_security_policy_browsertest.cc index d5848b1..a6437dd 100644 --- a/content/browser/child_process_security_policy_browsertest.cc +++ b/content/browser/child_process_security_policy_browsertest.cc @@ -46,13 +46,13 @@ IN_PROC_BROWSER_TEST_F(ChildProcessSecurityPolicyInProcessBrowserTest, NoLeak) { ChildProcessSecurityPolicyImpl::GetInstance()->security_state_.size(), 1U); - WebContents* tab = browser()->GetWebContentsAt(0); - ASSERT_TRUE(tab != NULL); - base::KillProcess(tab->GetRenderProcessHost()->GetHandle(), + WebContents* web_contents = browser()->GetWebContentsAt(0); + ASSERT_TRUE(web_contents != NULL); + base::KillProcess(web_contents->GetRenderProcessHost()->GetHandle(), content::RESULT_CODE_KILLED, true); - tab->GetController().Reload(true); + web_contents->GetController().Reload(true); EXPECT_EQ( - ChildProcessSecurityPolicyImpl::GetInstance()->security_state_.size(), - 1U); + 1U, + ChildProcessSecurityPolicyImpl::GetInstance()->security_state_.size()); } |