Index: chrome/renderer/user_script_slave.cc |
diff --git a/chrome/renderer/user_script_slave.cc b/chrome/renderer/user_script_slave.cc |
index 48017c19a603eb2ad1d5cc997a14cb318325e277..f6a8f136ef8919efa2c15eb2b3ba28056c716067 100644 |
--- a/chrome/renderer/user_script_slave.cc |
+++ b/chrome/renderer/user_script_slave.cc |
@@ -11,6 +11,7 @@ |
#include "base/pickle.h" |
#include "base/shared_memory.h" |
#include "base/string_util.h" |
+#include "chrome/renderer/extension_groups.h" |
#include "googleurl/src/gurl.h" |
#include "webkit/api/public/WebScriptSource.h" |
#include "webkit/glue/webframe.h" |
@@ -160,7 +161,8 @@ bool UserScriptSlave::InjectScripts(WebFrame* frame, |
StringPrintf(kInitExtension, script->extension_id().c_str())))); |
} |
- frame->ExecuteScriptInNewWorld(&sources.front(), sources.size()); |
+ frame->ExecuteScriptInNewWorld(&sources.front(), sources.size(), |
+ EXTENSION_GROUP_CONTENT_SCRIPTS); |
} |
} |