| Index: chrome/renderer/extensions/event_bindings.h
|
| diff --git a/chrome/renderer/extensions/event_bindings.h b/chrome/renderer/extensions/event_bindings.h
|
| index 022fe09ea3df17ceccd7dc8f329eb13241fcf062..736cb8a228925f3c5793fa019f137fde12c4141c 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);
|
|
|