Index: chrome/browser/extensions/crx_installer.cc |
diff --git a/chrome/browser/extensions/crx_installer.cc b/chrome/browser/extensions/crx_installer.cc |
index 02493db76b3974ed89d8237ac8d84c6b66eae82e..7cb71a351f61fe98ae620ce05884b5b0b821b85f 100644 |
--- a/chrome/browser/extensions/crx_installer.cc |
+++ b/chrome/browser/extensions/crx_installer.cc |
@@ -325,7 +325,7 @@ CrxInstallerError CrxInstaller::AllowInstall(const Extension* extension) { |
// For self-hosted apps, verify that the entire extent is on the same |
// host (or a subdomain of the host) the download happened from. There's |
// no way for us to verify that the app controls any other hosts. |
- URLPattern pattern(UserScript::kValidUserScriptSchemes); |
+ URLPattern pattern(UserScript::ValidUserScriptSchemes()); |
pattern.SetHost(download_url_.host()); |
pattern.SetMatchSubdomains(true); |