Chromium Code Reviews| Index: chrome/renderer/user_script_slave.cc |
| =================================================================== |
| --- chrome/renderer/user_script_slave.cc (revision 20764) |
| +++ chrome/renderer/user_script_slave.cc (working copy) |
| @@ -160,7 +160,7 @@ |
| StringPrintf(kInitExtension, script->extension_id().c_str())))); |
| } |
| - frame->ExecuteScriptInNewContext(&sources.front(), sources.size()); |
| + frame->ExecuteScriptInNewWorld(&sources.front(), sources.size()); |
|
Aaron Boodman
2009/07/16 18:27:14
Whee! I'm on the edge of my seat :)
|
| } |
| } |