| Index: content/browser/site_instance_impl_unittest.cc
|
| diff --git a/content/browser/site_instance_impl_unittest.cc b/content/browser/site_instance_impl_unittest.cc
|
| index 261d16c82f1a29b6ae9ac0f5039d512821367a29..bd7997d4bd6732e671c96c4c0c9cc4f3bd3afcad 100644
|
| --- a/content/browser/site_instance_impl_unittest.cc
|
| +++ b/content/browser/site_instance_impl_unittest.cc
|
| @@ -249,8 +249,9 @@ TEST_F(SiteInstanceTest, SiteInstanceDestructor) {
|
| &site_delete_counter,
|
| &browsing_delete_counter);
|
| {
|
| - WebContentsImpl web_contents(browser_context.get(), instance,
|
| - MSG_ROUTING_NONE, NULL, NULL, NULL);
|
| + scoped_ptr<WebContentsImpl> web_contents(
|
| + WebContentsImpl::Create(browser_context.get(), instance,
|
| + MSG_ROUTING_NONE, NULL));
|
| EXPECT_EQ(1, site_delete_counter);
|
| EXPECT_EQ(1, browsing_delete_counter);
|
| }
|
|
|