fix: webFrame spell checker APIs crashing in sandboxed renderers (#29053)
This commit is contained in:
parent
1336978de9
commit
aea8d5325c
7 changed files with 187 additions and 176 deletions
|
@ -26,8 +26,6 @@ class ElectronRendererClient : public RendererClientBase {
|
|||
ElectronRendererClient();
|
||||
~ElectronRendererClient() override;
|
||||
|
||||
static ElectronRendererClient* Get();
|
||||
|
||||
// electron::RendererClientBase:
|
||||
void DidCreateScriptContext(v8::Handle<v8::Context> context,
|
||||
content::RenderFrame* render_frame) override;
|
||||
|
@ -68,8 +66,6 @@ class ElectronRendererClient : public RendererClientBase {
|
|||
// assertion, so we have to keep a book of injected web frames.
|
||||
std::set<content::RenderFrame*> injected_frames_;
|
||||
|
||||
static ElectronRendererClient* self_;
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(ElectronRendererClient);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue