Index: mojo/public/bindings/generators/cpp_templates/params_definition.tmpl |
diff --git a/mojo/public/bindings/generators/cpp_templates/params_definition.tmpl b/mojo/public/bindings/generators/cpp_templates/params_definition.tmpl |
index b21f537dd4b3f3efddf009ec01329e116931a374..9e835718d492e90197153fccef46241ac9af65ee 100644 |
--- a/mojo/public/bindings/generators/cpp_templates/params_definition.tmpl |
+++ b/mojo/public/bindings/generators/cpp_templates/params_definition.tmpl |
@@ -1,7 +1,5 @@ |
{%- import "struct_macros.tmpl" as struct_macros %} |
{%- set class_name = struct.name ~ "_Data" %} |
-{%- set method_name = "k%s_%s_Name"|format(interface.name, method.name) %} |
-const uint32_t {{method_name}} = {{method.ordinal}}; |
class {{class_name}} { |
public: |
static {{class_name}}* New(mojo::Buffer* buf) { |