Ensure that a document has been created before sending IPC messages
* Reverts 370476c4af
in favor of moving the previous logic to the new RenderFrameObserver instead of RenderViewObserver
Fixes #12045
This commit is contained in:
parent
5f48f91d94
commit
a9dcce82ed
5 changed files with 135 additions and 119 deletions
|
@ -108,9 +108,10 @@ class AtomSandboxedRenderViewObserver : public AtomRenderViewObserver {
|
|||
}
|
||||
|
||||
protected:
|
||||
// TODO(MarshallOfSound): This needs to be `AtomRenderFrameObserver`
|
||||
void EmitIPCEvent(blink::WebLocalFrame* frame,
|
||||
const base::string16& channel,
|
||||
const base::ListValue& args) override {
|
||||
const base::ListValue& args) {
|
||||
if (!frame)
|
||||
return;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue