ExecuteScriptInIsolatedWorld is single-script only

This commit is contained in:
Jeremy Apthorp 2018-09-14 17:21:19 -07:00 committed by Aleksei Kuzmin
parent 3b7657361d
commit 7a043a800d

View file

@ -141,7 +141,7 @@ void AtomRenderFrameObserver::CreateIsolatedWorldContext() {
// Create initial script context in isolated world
blink::WebScriptSource source("void 0");
frame->ExecuteScriptInIsolatedWorld(World::ISOLATED_WORLD, &source, 1);
frame->ExecuteScriptInIsolatedWorld(World::ISOLATED_WORLD, source);
}
bool AtomRenderFrameObserver::IsMainWorld(int world_id) {