Index: chrome/renderer/extensions/extension_dispatcher.cc |
diff --git a/chrome/renderer/extensions/extension_dispatcher.cc b/chrome/renderer/extensions/extension_dispatcher.cc |
index c33b488651ff848081055fe0f7abf9ac8d23d2cc..20bbb003c3d34574a254d8e92bf1fbe82fe6eeb5 100644 |
--- a/chrome/renderer/extensions/extension_dispatcher.cc |
+++ b/chrome/renderer/extensions/extension_dispatcher.cc |
@@ -260,6 +260,14 @@ bool ExtensionDispatcher::AllowScriptExtension( |
WebFrame* frame, |
const std::string& v8_extension_name, |
int extension_group) { |
+ return AllowScriptExtension(frame, v8_extension_name, extension_group, 0); |
+} |
+ |
+bool ExtensionDispatcher::AllowScriptExtension( |
+ WebFrame* frame, |
+ const std::string& v8_extension_name, |
+ int extension_group, |
+ int world_id) { |
// NULL in unit tests. |
if (!RenderThread::Get()) |
return true; |