| Index: third_party/WebKit/Source/bindings/templates/methods.cpp.tmpl
|
| diff --git a/third_party/WebKit/Source/bindings/templates/methods.cpp.tmpl b/third_party/WebKit/Source/bindings/templates/methods.cpp.tmpl
|
| index a4fb97619af188d899c3abdbb07e50c4dd40c0f0..b0e19e2d032fc3ea0ce6681bd32c8e6cfacac361 100644
|
| --- a/third_party/WebKit/Source/bindings/templates/methods.cpp.tmpl
|
| +++ b/third_party/WebKit/Source/bindings/templates/methods.cpp.tmpl
|
| @@ -151,9 +151,9 @@ if (UNLIKELY(numArgsPassed <= {{argument.index}})) {
|
| {# FIXME: remove EventListener special case #}
|
| {% if argument.idl_type == 'EventListener' %}
|
| {% if method.name == 'removeEventListener' or method.name == 'removeListener' %}
|
| -{{argument.name}} = V8EventListenerHelper::getEventListener(ScriptState::current(info.GetIsolate()), info[{{argument.index}}], false, ListenerFindOnly);
|
| +{{argument.name}} = V8EventListenerHelper::getEventListener(ScriptState::current(info.GetIsolate()), info[{{argument.index}}], false, ListenerFindOnly, exceptionState);
|
| {% else %}{# method.name == 'addEventListener' #}
|
| -{{argument.name}} = V8EventListenerHelper::getEventListener(ScriptState::current(info.GetIsolate()), info[{{argument.index}}], false, ListenerFindOrCreate);
|
| +{{argument.name}} = V8EventListenerHelper::getEventListener(ScriptState::current(info.GetIsolate()), info[{{argument.index}}], false, ListenerFindOrCreate, exceptionState);
|
| {% endif %}{# method.name #}
|
| {% else %}{# argument.idl_type == 'EventListener' #}
|
| {# Callback functions must be functions:
|
|
|