Index: third_party/WebKit/Source/bindings/scripts/v8_methods.py |
diff --git a/third_party/WebKit/Source/bindings/scripts/v8_methods.py b/third_party/WebKit/Source/bindings/scripts/v8_methods.py |
index 97f74ac844e04281d59555bbc8208cc294173cd3..fa613df7b043d9ddd2ce8f550daec0bbc260d9d4 100644 |
--- a/third_party/WebKit/Source/bindings/scripts/v8_methods.py |
+++ b/third_party/WebKit/Source/bindings/scripts/v8_methods.py |
@@ -377,7 +377,7 @@ def v8_value_to_local_cpp_value(method, argument, index, return_promise=False): |
if argument.is_variadic: |
return v8_value_to_local_cpp_variadic_value(method, argument, index, return_promise) |
return idl_type.v8_value_to_local_cpp_value(extended_attributes, 'info[%s]' % index, |
- name, index=index, declare_variable=False, |
+ name, declare_variable=False, |
use_exception_state=method.returns_promise) |