| Index: webkit/tools/test_shell/layout_test_controller.cc
|
| ===================================================================
|
| --- webkit/tools/test_shell/layout_test_controller.cc (revision 20764)
|
| +++ webkit/tools/test_shell/layout_test_controller.cc (working copy)
|
| @@ -351,7 +351,7 @@
|
| WorkItemIsolatedWorldScript(const string& script) : script_(script) {}
|
| bool Run(TestShell* shell) {
|
| WebScriptSource source(WebString::fromUTF8(script_));
|
| - shell->webView()->GetMainFrame()->ExecuteScriptInNewContext(&source, 1);
|
| + shell->webView()->GetMainFrame()->ExecuteScriptInNewWorld(&source, 1);
|
| return false;
|
| }
|
| private:
|
|
|