Index: content/browser/web_contents/web_contents_delegate_unittest.cc |
diff --git a/content/browser/web_contents/web_contents_delegate_unittest.cc b/content/browser/web_contents/web_contents_delegate_unittest.cc |
index e5bb6790bc6f34a8598c7a3065e3be52e4a00580..cdc0d8c555df11faeb03c4fcec1bcf1ad74565ee 100644 |
--- a/content/browser/web_contents/web_contents_delegate_unittest.cc |
+++ b/content/browser/web_contents/web_contents_delegate_unittest.cc |
@@ -21,9 +21,9 @@ class WebContentsDelegateTest : public RenderViewHostImplTestHarness { |
TEST_F(WebContentsDelegateTest, UnregisterInDestructor) { |
scoped_ptr<WebContentsImpl> contents_a(static_cast<WebContentsImpl*>( |
- WebContents::Create(WebContents::CreateParams(browser_context_.get())))); |
+ WebContents::Create(WebContents::CreateParams(browser_context())))); |
scoped_ptr<WebContentsImpl> contents_b(static_cast<WebContentsImpl*>( |
- WebContents::Create(WebContents::CreateParams(browser_context_.get())))); |
+ WebContents::Create(WebContents::CreateParams(browser_context())))); |
EXPECT_EQ(NULL, contents_a->GetDelegate()); |
EXPECT_EQ(NULL, contents_b->GetDelegate()); |