summaryrefslogtreecommitdiffstats
path: root/content/browser/site_instance_impl_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/site_instance_impl_unittest.cc')
-rw-r--r--content/browser/site_instance_impl_unittest.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/content/browser/site_instance_impl_unittest.cc b/content/browser/site_instance_impl_unittest.cc
index 8c7a39f..ce87d4e 100644
--- a/content/browser/site_instance_impl_unittest.cc
+++ b/content/browser/site_instance_impl_unittest.cc
@@ -349,10 +349,10 @@ TEST_F(SiteInstanceTest, SetSite) {
scoped_refptr<SiteInstanceImpl> instance(static_cast<SiteInstanceImpl*>(
SiteInstance::Create(NULL)));
EXPECT_FALSE(instance->HasSite());
- EXPECT_TRUE(instance->GetSite().is_empty());
+ EXPECT_TRUE(instance->GetSiteURL().is_empty());
instance->SetSite(GURL("http://www.google.com/index.html"));
- EXPECT_EQ(GURL("http://google.com"), instance->GetSite());
+ EXPECT_EQ(GURL("http://google.com"), instance->GetSiteURL());
EXPECT_TRUE(instance->HasSite());
@@ -662,7 +662,7 @@ TEST_F(SiteInstanceTest, HasWrongProcessForURL) {
SiteInstance::Create(browser_context.get())));
EXPECT_FALSE(instance->HasSite());
- EXPECT_TRUE(instance->GetSite().is_empty());
+ EXPECT_TRUE(instance->GetSiteURL().is_empty());
instance->SetSite(GURL("http://evernote.com/"));
EXPECT_TRUE(instance->HasSite());