From 1e5645ff803bf73889ced446dab5b5f81e6023c0 Mon Sep 17 00:00:00 2001 From: "brettw@google.com" Date: Wed, 27 Aug 2008 18:09:07 +0000 Subject: Cleanup navigation_entry.h. I made the accessors consistent and in Google style, and organized and commented all the entries. Hopefully it will be much easier to find things and deal with this class. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1449 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/site_instance_unittest.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/browser/site_instance_unittest.cc') diff --git a/chrome/browser/site_instance_unittest.cc b/chrome/browser/site_instance_unittest.cc index 4059fb4..bd93416 100644 --- a/chrome/browser/site_instance_unittest.cc +++ b/chrome/browser/site_instance_unittest.cc @@ -79,7 +79,7 @@ TEST_F(SiteInstanceTest, SiteInstanceDestructor) { PageTransition::LINK); // Redundantly setting e1's SiteInstance shouldn't affect the ref count. - e1->SetSiteInstance(instance); + e1->set_site_instance(instance); EXPECT_EQ(0, siteDeleteCounter); // Add a second reference @@ -142,7 +142,7 @@ TEST_F(SiteInstanceTest, CloneNavigationEntry) { NavigationEntry* e2 = new NavigationEntry(*e1); // Should be able to change the SiteInstance of the cloned entry. - e2->SetSiteInstance(instance2); + e2->set_site_instance(instance2); // The first SiteInstance should go away after deleting e1, since e2 should // no longer be referencing it. -- cgit v1.1