Index: content/browser/child_process_security_policy_browsertest.cc |
=================================================================== |
--- content/browser/child_process_security_policy_browsertest.cc (revision 116244) |
+++ content/browser/child_process_security_policy_browsertest.cc (working copy) |
@@ -16,6 +16,8 @@ |
#include "content/public/common/result_codes.h" |
#include "testing/gtest/include/gtest/gtest.h" |
+using content::WebContents; |
+ |
class ChildProcessSecurityPolicyInProcessBrowserTest |
: public InProcessBrowserTest { |
public: |
@@ -41,7 +43,7 @@ |
EXPECT_EQ( |
ChildProcessSecurityPolicy::GetInstance()->security_state_.size(), 1U); |
- TabContents* tab = browser()->GetTabContentsAt(0); |
+ WebContents* tab = browser()->GetWebContentsAt(0); |
ASSERT_TRUE(tab != NULL); |
base::KillProcess(tab->GetRenderProcessHost()->GetHandle(), |
content::RESULT_CODE_KILLED, true); |