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