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 027a670982985cbcc5307aa2fea24316657435da..dfd7f29b2a39cede33133e425a1d0b9e341938bf 100644 |
--- a/content/browser/site_instance_impl_unittest.cc |
+++ b/content/browser/site_instance_impl_unittest.cc |
@@ -427,7 +427,7 @@ TEST_F(SiteInstanceTest, OneSiteInstancePerSite) { |
static_cast<SiteInstanceImpl*>( |
browsing_instance->GetSiteInstanceForURL(url_b1))); |
EXPECT_NE(site_instance_a1.get(), site_instance_b1.get()); |
- EXPECT_TRUE(site_instance_a1->IsRelatedSiteInstance(site_instance_b1)); |
+ EXPECT_TRUE(site_instance_a1->IsRelatedSiteInstance(site_instance_b1.get())); |
// Getting the new SiteInstance from the BrowsingInstance and from another |
// SiteInstance in the BrowsingInstance should give the same result. |
@@ -450,7 +450,8 @@ TEST_F(SiteInstanceTest, OneSiteInstancePerSite) { |
static_cast<SiteInstanceImpl*>( |
browsing_instance2->GetSiteInstanceForURL(url_a2))); |
EXPECT_NE(site_instance_a1.get(), site_instance_a2_2.get()); |
- EXPECT_FALSE(site_instance_a1->IsRelatedSiteInstance(site_instance_a2_2)); |
+ EXPECT_FALSE( |
+ site_instance_a1->IsRelatedSiteInstance(site_instance_a2_2.get())); |
// The two SiteInstances for http://google.com should not use the same process |
// if process-per-site is not enabled. |
@@ -501,7 +502,7 @@ TEST_F(SiteInstanceTest, OneSiteInstancePerSiteInBrowserContext) { |
static_cast<SiteInstanceImpl*>( |
browsing_instance->GetSiteInstanceForURL(url_b1))); |
EXPECT_NE(site_instance_a1.get(), site_instance_b1.get()); |
- EXPECT_TRUE(site_instance_a1->IsRelatedSiteInstance(site_instance_b1)); |
+ EXPECT_TRUE(site_instance_a1->IsRelatedSiteInstance(site_instance_b1.get())); |
// Getting the new SiteInstance from the BrowsingInstance and from another |
// SiteInstance in the BrowsingInstance should give the same result. |