diff options
Diffstat (limited to 'chrome/renderer/extensions/event_bindings.h')
-rw-r--r-- | chrome/renderer/extensions/event_bindings.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/renderer/extensions/event_bindings.h b/chrome/renderer/extensions/event_bindings.h index 022fe09..736cb8a 100644 --- a/chrome/renderer/extensions/event_bindings.h +++ b/chrome/renderer/extensions/event_bindings.h @@ -35,6 +35,8 @@ class EventBindings { // events. If render_view is non-NULL, only call the function in contexts // belonging to that view. See comments on // bindings_utils::CallFunctionInContext for more details. + // The called javascript function should not return a value other than + // v8::Undefined(). A DCHECK is setup to break if it is otherwise. static void CallFunction(const std::string& function_name, int argc, v8::Handle<v8::Value>* argv, RenderView* render_view); |