Commit 968cffea authored by Nicholas Hollingum's avatar Nicholas Hollingum Committed by Commit Bot

Formatting improvements to the fuzzer harness

Based on review comments in crrev.com/c/1670424.

Bug: 961564
Change-Id: I377242ec7db98aa0ed0dd1e8efcf8a7b18d315be
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1677806Reviewed-by: default avatarTimothy Loh <timloh@chromium.org>
Commit-Queue: Nic Hollingum <hollingum@google.com>
Cr-Commit-Position: refs/heads/master@{#672713}
parent 556a5181
......@@ -88,10 +88,13 @@ namespace wayland_fuzzer {
{% endif %}
{% endfor %}
{% if request.is_constructor %}
struct {{request.constructed}}* new_object =
{% endif %}
// Invoke the wayland method. We need ::method_name in order to
// disambiguate methods which might collide with
// interface/namespace names.
{% if request.is_constructor %} struct {{request.constructed}}* new_object = {% endif %}::{{interface.name}}_{{request.name}}(receiver
::{{interface.name}}_{{request.name}}(receiver
{% for arg in request.args %}
{% if arg.type == 'object' or arg.type == 'fd' %}
, {{arg.name}}
......
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