refactor: remove unused extension content script code (#27570)

This code was leftover from the old JS extensions implementation.
This commit is contained in:
Samuel Maddock 2021-02-02 05:03:10 -05:00 committed by GitHub
parent a5e9af330f
commit 20a71be849
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 0 additions and 75 deletions

View file

@ -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() {