Index: extensions/browser/extension_protocols.cc |
diff --git a/extensions/browser/extension_protocols.cc b/extensions/browser/extension_protocols.cc |
index e4cd193e9d836ae5553fb73cb299e68e1cdf251e..87a9e0e80b0d1bf45bd3971d6c961d50d37d1267 100644 |
--- a/extensions/browser/extension_protocols.cc |
+++ b/extensions/browser/extension_protocols.cc |
@@ -296,7 +296,7 @@ bool ExtensionCanLoadInIncognito(const ResourceRequestInfo* info, |
// Only allow incognito toplevel navigations to extension resources in |
// split mode. In spanning mode, the extension must run in a single process, |
// and an incognito tab prevents that. |
- if (info->GetResourceType() == ResourceType::MAIN_FRAME) { |
+ if (info->GetResourceType() == content::RESOURCE_TYPE_MAIN_FRAME) { |
const Extension* extension = |
extension_info_map->extensions().GetByID(extension_id); |
return extension && extensions::IncognitoInfo::IsSplitMode(extension); |