Index: chrome/browser/extensions/extension_info_map.cc |
diff --git a/chrome/browser/extensions/extension_info_map.cc b/chrome/browser/extensions/extension_info_map.cc |
index 8401ceb01cd714d39c42bc1d09d17b89674a44d0..6f72a808d3708d5155ec557218b20e70e331710e 100644 |
--- a/chrome/browser/extensions/extension_info_map.cc |
+++ b/chrome/browser/extensions/extension_info_map.cc |
@@ -124,7 +124,7 @@ void ExtensionInfoMap::UnregisterAllExtensionsInProcess(int process_id) { |
bool ExtensionInfoMap::SecurityOriginHasAPIPermission( |
const GURL& origin, int process_id, |
- ExtensionAPIPermission::ID permission) const { |
+ APIPermission::ID permission) const { |
if (origin.SchemeIs(chrome::kExtensionScheme)) { |
const std::string& id = origin.host(); |
return extensions_.GetByID(id)->HasAPIPermission(permission) && |