refactor: remove unused extension content script code (#27570)
This code was leftover from the old JS extensions implementation.
This commit is contained in:
parent
a5e9af330f
commit
20a71be849
7 changed files with 0 additions and 75 deletions
|
@ -88,14 +88,6 @@ void ElectronRenderFrameObserver::DidInstallConditionalFeatures(
|
|||
if (!renderer_client_->IsWebViewFrame(context, render_frame_))
|
||||
renderer_client_->SetupMainWorldOverrides(context, render_frame_);
|
||||
}
|
||||
|
||||
#if !BUILDFLAG(ENABLE_ELECTRON_EXTENSIONS)
|
||||
if (world_id >= WorldIDs::ISOLATED_WORLD_ID_EXTENSIONS &&
|
||||
world_id <= WorldIDs::ISOLATED_WORLD_ID_EXTENSIONS_END) {
|
||||
renderer_client_->SetupExtensionWorldOverrides(context, render_frame_,
|
||||
world_id);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void ElectronRenderFrameObserver::DraggableRegionsChanged() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue