|
@@ -139,9 +139,10 @@ class ElectronBrowserContext
|
|
|
}
|
|
|
|
|
|
#if BUILDFLAG(ENABLE_ELECTRON_EXTENSIONS)
|
|
|
- // Guard usages of extension_system() with !IsOffTheRecord()
|
|
|
- // There is no extension system for in-memory sessions
|
|
|
extensions::ElectronExtensionSystem* extension_system() {
|
|
|
+ // Guard usages of extension_system() with !IsOffTheRecord()
|
|
|
+ // There is no extension system for in-memory sessions
|
|
|
+ DCHECK(!IsOffTheRecord());
|
|
|
return extension_system_;
|
|
|
}
|
|
|
#endif
|