| Index: mojo/public/tools/bindings/generators/cpp_templates/interface_definition.tmpl
|
| diff --git a/mojo/public/tools/bindings/generators/cpp_templates/interface_definition.tmpl b/mojo/public/tools/bindings/generators/cpp_templates/interface_definition.tmpl
|
| index 15124540e91d83c65157a7dd96e6198b1cf58384..de7469c846da597aaf4f953b18b9f08e553ce4e7 100644
|
| --- a/mojo/public/tools/bindings/generators/cpp_templates/interface_definition.tmpl
|
| +++ b/mojo/public/tools/bindings/generators/cpp_templates/interface_definition.tmpl
|
| @@ -3,6 +3,7 @@
|
|
|
| {%- set class_name = interface.name %}
|
| {%- set proxy_name = interface.name ~ "Proxy" %}
|
| +{%- set namespace_as_string = "%s"|format(namespace|replace(".","::")) %}
|
|
|
| {%- macro alloc_params(struct, serialization_context) %}
|
| bool success = true;
|
| @@ -34,7 +35,7 @@
|
| {%- endmacro %}
|
|
|
| {#--- Begin #}
|
| -MOJO_STATIC_CONST_MEMBER_DEFINITION const char {{class_name}}::Name_[] = "{{namespace}}.{{class_name}}";
|
| +MOJO_STATIC_CONST_MEMBER_DEFINITION const char {{class_name}}::Name_[] = "{{namespace_as_string}}::{{class_name}}";
|
| MOJO_STATIC_CONST_MEMBER_DEFINITION const uint32_t {{class_name}}::Version_;
|
|
|
| {#--- Constants #}
|
|
|