Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1514)

Unified Diff: content/browser/site_instance_impl_unittest.cc

Issue 10831116: Move SessionStorageNamespace entirely into NavigationController and support StoragePartitions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix content shell Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
}

Powered by Google App Engine
This is Rietveld 408576698