0

Remove whitespace generated by mojo js template

The validation macros for javascript generate whitespace in the
resultant file.  This change cuts out that whitespace.

This is important so that unmodified versions of these generated files
can be placed into the third_party/WebKit/LayoutTests/external/wpt/
directory which is exported to github.

BUG=509038

Change-Id: Ie09e90935324a87380376ddeaf7d527ea9f9e93b
Reviewed-on: https://chromium-review.googlesource.com/701370
Reviewed-by: Yuzhu Shen <yzshen@chromium.org>
Commit-Queue: Conley Owens <cco3@chromium.org>
Cr-Commit-Position: refs/heads/master@{#506621}
This commit is contained in:
Conley Owens
2017-10-05 01:59:55 +00:00
committed by Commit Bot
parent f61c66e8ca
commit 51a5a000bd

@ -52,7 +52,7 @@ err = messageValidator.validateEnum({{offset}}, {{field|validate_enum_params}});
// validate {{name}}
err = messageValidator.validateUnion({{offset}}, {{field|validate_union_params}});
{{_check_err()}}
{%- else %}
{%- else -%}
{{_validate_field(field, offset, name)}}
{%- endif %}
{%- endmacro %}