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

Unified Diff: Source/bindings/templates/interface.cpp

Issue 114693005: IDL compiler: sync Python to r164407 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Simpler Created 6 years, 11 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
« no previous file with comments | « Source/bindings/scripts/unstable/v8_methods.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/templates/interface.cpp
diff --git a/Source/bindings/templates/interface.cpp b/Source/bindings/templates/interface.cpp
index 44bdbfa7df41929b7a12cb5c4446344ef7b7294e..a9c95ae043d60f51b079c8369bee5dbd7382d53f 100644
--- a/Source/bindings/templates/interface.cpp
+++ b/Source/bindings/templates/interface.cpp
@@ -463,15 +463,6 @@ static void configure{{v8_class}}Template(v8::Handle<v8::FunctionTemplate> funct
{{install_constants() | indent}}
{% endif %}
{% for method in methods if not method.do_not_check_signature %}
- {% if method.custom_signature and not method.overload_index %}
- {# No custom signature needed for overloaded methods;
- separate check because depends on global check for overloads #}
-
- // Custom Signature '{{method.name}}'
- const int {{method.name}}Argc = {{method.arguments | length}};
- v8::Handle<v8::FunctionTemplate> {{method.name}}Argv[{{method.name}}Argc] = { {{method.custom_signature}} };
- v8::Handle<v8::Signature> {{method.name}}Signature = v8::Signature::New(isolate, functionTemplate, {{method.name}}Argc, {{method.name}}Argv);
- {% endif %}
{# install_custom_signature #}
{% if not method.overload_index or method.overload_index == 1 %}
{# For overloaded methods, only generate one accessor #}
« no previous file with comments | « Source/bindings/scripts/unstable/v8_methods.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698