Use blink::WebLocalFrame instead of blink::WebFrame
Move GetDocument method from WebFrame to WebLocalFrame. https://codereview.chromium.org/2928033002 Move MainWorldScriptContext accessor/method from WebFrame to WebLocalFrame. https://codereview.chromium.org/2923053002
This commit is contained in:
parent
61797b7802
commit
e4d9e12ee5
5 changed files with 13 additions and 9 deletions
|
@ -107,10 +107,10 @@ class AtomSandboxedRenderViewObserver : public AtomRenderViewObserver {
|
|||
}
|
||||
|
||||
protected:
|
||||
void EmitIPCEvent(blink::WebFrame* frame,
|
||||
void EmitIPCEvent(blink::WebLocalFrame* frame,
|
||||
const base::string16& channel,
|
||||
const base::ListValue& args) override {
|
||||
if (!frame || frame->IsWebRemoteFrame())
|
||||
if (!frame)
|
||||
return;
|
||||
|
||||
auto isolate = blink::MainThreadIsolate();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue