Index: chrome/common/extensions/manifest_handlers/content_scripts_manifest_unittest.cc |
diff --git a/chrome/common/extensions/manifest_handlers/content_scripts_manifest_unittest.cc b/chrome/common/extensions/manifest_handlers/content_scripts_manifest_unittest.cc |
index c7511573695b7218194ad31cf39d7d0f6e8bb9e5..907ab926ed9c8025ea96cefef099a376fe9877d8 100644 |
--- a/chrome/common/extensions/manifest_handlers/content_scripts_manifest_unittest.cc |
+++ b/chrome/common/extensions/manifest_handlers/content_scripts_manifest_unittest.cc |
@@ -73,11 +73,11 @@ TEST_F(ContentScriptsManifestTest, ContentScriptIds) { |
scoped_refptr<Extension> extension2 = |
LoadAndExpectSuccess("content_script_yahoo.json"); |
const UserScriptList& user_scripts1 = |
- ContentScriptsInfo::GetContentScripts(extension1); |
+ ContentScriptsInfo::GetContentScripts(extension1.get()); |
ASSERT_EQ(1u, user_scripts1.size()); |
int id = user_scripts1[0].id(); |
const UserScriptList& user_scripts2 = |
- ContentScriptsInfo::GetContentScripts(extension2); |
+ ContentScriptsInfo::GetContentScripts(extension2.get()); |
ASSERT_EQ(1u, user_scripts2.size()); |
// The id of the content script should be one higher than the previous. |
EXPECT_EQ(id + 1, user_scripts2[0].id()); |