Send document-start/end to the right context when contextIsolation=true (#12738)
This commit is contained in:
parent
022b6973b2
commit
118da36b52
3 changed files with 6 additions and 5 deletions
|
@ -226,7 +226,7 @@ void RendererClientBase::AddSupportedKeySystems(
|
|||
|
||||
v8::Local<v8::Context> RendererClientBase::GetContext(
|
||||
blink::WebLocalFrame* frame,
|
||||
v8::Isolate* isolate) {
|
||||
v8::Isolate* isolate) const {
|
||||
if (isolated_world())
|
||||
return frame->WorldScriptContext(isolate, World::ISOLATED_WORLD);
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue