Index: chrome/common/extensions/extension_unittest.cc |
diff --git a/chrome/common/extensions/extension_unittest.cc b/chrome/common/extensions/extension_unittest.cc |
index 79cad1a7a8775ff5a7e15bfc91b097c223d29008..51155730e969f905b215c0ea1ff1311ef780e568 100644 |
--- a/chrome/common/extensions/extension_unittest.cc |
+++ b/chrome/common/extensions/extension_unittest.cc |
@@ -389,10 +389,10 @@ TEST(ExtensionTest, EffectiveHostPermissions) { |
hosts = extension->GetEffectiveHostPermissions(); |
EXPECT_TRUE(hosts.MatchesURL(GURL("http://google.com"))); |
EXPECT_TRUE(hosts.MatchesURL(GURL("http://www.reddit.com"))); |
- EXPECT_TRUE(extension->permission_set()->HasEffectiveAccessToURL( |
+ EXPECT_TRUE(extension->GetActivePermissions()->HasEffectiveAccessToURL( |
GURL("http://www.reddit.com"))); |
EXPECT_TRUE(hosts.MatchesURL(GURL("http://news.ycombinator.com"))); |
- EXPECT_TRUE(extension->permission_set()->HasEffectiveAccessToURL( |
+ EXPECT_TRUE(extension->GetActivePermissions()->HasEffectiveAccessToURL( |
GURL("http://news.ycombinator.com"))); |
EXPECT_FALSE(extension->HasEffectiveAccessToAllHosts()); |