mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-03-16 12:00:13 +01:00
Fix extension loading test failure
This commit is contained in:
parent
f84762d84a
commit
b189c7b472
@ -576,12 +576,12 @@ const Extension* CefExtensionSystem::LoadExtension(
|
|||||||
// Insert first so that callbacks can retrieve the loaded extension.
|
// Insert first so that callbacks can retrieve the loaded extension.
|
||||||
extension_map_.insert(std::make_pair(extension->id(), cef_extension));
|
extension_map_.insert(std::make_pair(extension->id(), cef_extension));
|
||||||
|
|
||||||
cef_extension->OnExtensionLoaded();
|
|
||||||
|
|
||||||
// This may trigger additional callbacks.
|
// This may trigger additional callbacks.
|
||||||
registry_->AddEnabled(extension.get());
|
registry_->AddEnabled(extension.get());
|
||||||
NotifyExtensionLoaded(extension.get());
|
NotifyExtensionLoaded(extension.get());
|
||||||
|
|
||||||
|
cef_extension->OnExtensionLoaded();
|
||||||
|
|
||||||
return extension.get();
|
return extension.get();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user