| 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 f2c3a918fc2929788b1eee73a71d2c4d18b65a5b..5b611f732375293a9e91f6929899c8655582158c 100644
|
| --- a/chrome/common/extensions/manifest_handlers/content_scripts_manifest_unittest.cc
|
| +++ b/chrome/common/extensions/manifest_handlers/content_scripts_manifest_unittest.cc
|
| @@ -49,8 +49,8 @@ TEST_F(ContentScriptsManifestTest, OnChromeUrlsWithFlag) {
|
| scoped_refptr<Extension> extension =
|
| LoadAndExpectSuccess("content_script_chrome_url_invalid.json");
|
| const GURL newtab_url("chrome://newtab/");
|
| - EXPECT_TRUE(ContentScriptsInfo::ExtensionHasScriptAtURL(extension,
|
| - newtab_url));
|
| + EXPECT_TRUE(
|
| + ContentScriptsInfo::ExtensionHasScriptAtURL(extension.get(), newtab_url));
|
| }
|
|
|
| TEST_F(ContentScriptsManifestTest, ScriptableHosts) {
|
| @@ -58,7 +58,7 @@ TEST_F(ContentScriptsManifestTest, ScriptableHosts) {
|
| scoped_refptr<Extension> extension =
|
| LoadAndExpectSuccess("content_script_yahoo.json");
|
| URLPatternSet scriptable_hosts =
|
| - ContentScriptsInfo::GetScriptableHosts(extension);
|
| + ContentScriptsInfo::GetScriptableHosts(extension.get());
|
|
|
| URLPatternSet expected;
|
| expected.AddPattern(
|
|
|