Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(553)

Unified Diff: third_party/WebKit/Source/bindings/scripts/v8_interface.py

Issue 2446923002: bindings: Drop |idl_name| from IdlDefinitions (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/bindings/scripts/v8_interface.py
diff --git a/third_party/WebKit/Source/bindings/scripts/v8_interface.py b/third_party/WebKit/Source/bindings/scripts/v8_interface.py
index f6bc0a752e8469a1c881564245fc61a2ff58f30a..c2aa1f551e7b4c4236f0a5a23d561a130c002519 100644
--- a/third_party/WebKit/Source/bindings/scripts/v8_interface.py
+++ b/third_party/WebKit/Source/bindings/scripts/v8_interface.py
@@ -446,7 +446,7 @@ def methods_context(interface):
compute_method_overloads_context(interface, methods)
def generated_method(return_type, name, arguments=None, extended_attributes=None, implemented_as=None):
- operation = IdlOperation(interface.idl_name)
+ operation = IdlOperation()
operation.idl_type = return_type
operation.name = name
if arguments:
@@ -459,7 +459,7 @@ def methods_context(interface):
return v8_methods.method_context(interface, operation)
def generated_argument(idl_type, name, is_optional=False, extended_attributes=None):
- argument = IdlArgument(interface.idl_name)
+ argument = IdlArgument()
argument.idl_type = idl_type
argument.name = name
argument.is_optional = is_optional

Powered by Google App Engine
This is Rietveld 408576698