Commit 51a5a000 authored by Conley Owens's avatar Conley Owens Committed by Commit Bot

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/701370Reviewed-by: default avatarYuzhu Shen <yzshen@chromium.org>
Commit-Queue: Conley Owens <cco3@chromium.org>
Cr-Commit-Position: refs/heads/master@{#506621}
parent f61c66e8
...@@ -52,7 +52,7 @@ err = messageValidator.validateEnum({{offset}}, {{field|validate_enum_params}}); ...@@ -52,7 +52,7 @@ err = messageValidator.validateEnum({{offset}}, {{field|validate_enum_params}});
// validate {{name}} // validate {{name}}
err = messageValidator.validateUnion({{offset}}, {{field|validate_union_params}}); err = messageValidator.validateUnion({{offset}}, {{field|validate_union_params}});
{{_check_err()}} {{_check_err()}}
{%- else %} {%- else -%}
{{_validate_field(field, offset, name)}} {{_validate_field(field, offset, name)}}
{%- endif %} {%- endif %}
{%- endmacro %} {%- endmacro %}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment