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
|
@ -217,7 +217,7 @@ void RendererClientBase::AddSupportedKeySystems(
|
|||
}
|
||||
|
||||
v8::Local<v8::Context> RendererClientBase::GetContext(
|
||||
blink::WebFrame* frame, v8::Isolate* isolate) {
|
||||
blink::WebLocalFrame* frame, v8::Isolate* isolate) {
|
||||
if (isolated_world())
|
||||
return frame->WorldScriptContext(isolate, World::ISOLATED_WORLD);
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue