summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/extensions/renderer_extension_bindings.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer/extensions/renderer_extension_bindings.cc')
-rw-r--r--chrome/renderer/extensions/renderer_extension_bindings.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/renderer/extensions/renderer_extension_bindings.cc b/chrome/renderer/extensions/renderer_extension_bindings.cc
index 37767f3..9de9035 100644
--- a/chrome/renderer/extensions/renderer_extension_bindings.cc
+++ b/chrome/renderer/extensions/renderer_extension_bindings.cc
@@ -154,8 +154,9 @@ v8::Extension* RendererExtensionBindings::Get() {
}
void RendererExtensionBindings::Invoke(const std::string& function_name,
- const ListValue& args) {
+ const ListValue& args,
+ RenderView* renderview) {
v8::HandleScope handle_scope;
std::vector< v8::Handle<v8::Value> > argv = ListValueToV8(args);
- EventBindings::CallFunction(function_name, argv.size(), &argv[0]);
+ EventBindings::CallFunction(function_name, argv.size(), &argv[0], renderview);
}