summaryrefslogtreecommitdiffstats
path: root/chrome/browser/site_instance_unittest.cc
diff options
context:
space:
mode:
authorbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-27 18:09:07 +0000
committerbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-27 18:09:07 +0000
commit1e5645ff803bf73889ced446dab5b5f81e6023c0 (patch)
tree560899029aee3d7b933ae5baf1e17f89d90696a1 /chrome/browser/site_instance_unittest.cc
parent473343c408b846fda90eba9bd7cf96a342f6f286 (diff)
downloadchromium_src-1e5645ff803bf73889ced446dab5b5f81e6023c0.zip
chromium_src-1e5645ff803bf73889ced446dab5b5f81e6023c0.tar.gz
chromium_src-1e5645ff803bf73889ced446dab5b5f81e6023c0.tar.bz2
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
Diffstat (limited to 'chrome/browser/site_instance_unittest.cc')
-rw-r--r--chrome/browser/site_instance_unittest.cc4
1 files changed, 2 insertions, 2 deletions
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.