diff options
Diffstat (limited to 'chrome/browser/extensions/extensions_ui.cc')
-rw-r--r-- | chrome/browser/extensions/extensions_ui.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/extensions/extensions_ui.cc b/chrome/browser/extensions/extensions_ui.cc index 84a6f33c..c4c55ec 100644 --- a/chrome/browser/extensions/extensions_ui.cc +++ b/chrome/browser/extensions/extensions_ui.cc @@ -791,7 +791,7 @@ static bool ExtensionWantsFileAccess(const Extension* extension) { for (UserScript::PatternList::const_iterator pattern = it->url_patterns().begin(); pattern != it->url_patterns().end(); ++pattern) { - if (pattern->scheme() == chrome::kFileScheme) + if (pattern->MatchesScheme(chrome::kFileScheme)) return true; } } |