| Index: chrome/common/extensions/manifest_handlers/content_scripts_handler.cc
|
| diff --git a/chrome/common/extensions/manifest_handlers/content_scripts_handler.cc b/chrome/common/extensions/manifest_handlers/content_scripts_handler.cc
|
| index 9a699b2013259706083215fc04001ae426754493..aa9b4c7e9688a2cb3ac49a865e2ae01493076731 100644
|
| --- a/chrome/common/extensions/manifest_handlers/content_scripts_handler.cc
|
| +++ b/chrome/common/extensions/manifest_handlers/content_scripts_handler.cc
|
| @@ -160,7 +160,7 @@ bool LoadUserScriptFromDictionary(const base::DictionaryValue* content_script,
|
| pattern.valid_schemes() & ~URLPattern::SCHEME_CHROMEUI);
|
| }
|
|
|
| - if (pattern.MatchesScheme(content::kFileScheme) &&
|
| + if (pattern.MatchesScheme(url::kFileScheme) &&
|
| !PermissionsData::CanExecuteScriptEverywhere(extension)) {
|
| extension->set_wants_file_access(true);
|
| if (!(extension->creation_flags() & Extension::ALLOW_FILE_ACCESS)) {
|
|
|