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

Unified Diff: content/browser/web_contents/web_contents_delegate_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/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 3cdad8d1eb95c95629a7a7177cfe7961f1a74c10..6122d5498ca234066b1084b51293bc53e185d07a 100644
--- a/content/browser/web_contents/web_contents_delegate_unittest.cc
+++ b/content/browser/web_contents/web_contents_delegate_unittest.cc
@@ -36,11 +36,11 @@ class WebContentsDelegateTest :
TEST_F(WebContentsDelegateTest, UnregisterInDestructor) {
scoped_ptr<WebContentsImpl> contents_a(
- new WebContentsImpl(browser_context_.get(), NULL, MSG_ROUTING_NONE, NULL,
- NULL, NULL));
+ WebContentsImpl::Create(browser_context_.get(), NULL, MSG_ROUTING_NONE,
+ NULL));
scoped_ptr<WebContentsImpl> contents_b(
- new WebContentsImpl(browser_context_.get(), NULL, MSG_ROUTING_NONE, NULL,
- NULL, NULL));
+ WebContentsImpl::Create(browser_context_.get(), NULL, MSG_ROUTING_NONE,
+ NULL));
EXPECT_EQ(NULL, contents_a->GetDelegate());
EXPECT_EQ(NULL, contents_b->GetDelegate());

Powered by Google App Engine
This is Rietveld 408576698