Kotlin: Remove unnecessary namespace qualifier. Bug: 450066660 Change-Id: I8f2d74c761cb5865c797f22a400dc52bf7550e6e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/265614 Reviewed-by: Ria Singhla <rsinghla@google.com> Commit-Queue: Jim Blackler <jimblackler@google.com> Reviewed-by: Jim Blackler <jimblackler@google.com>
diff --git a/generator/templates/art/api_kotlin_types.kt b/generator/templates/art/api_kotlin_types.kt index ebcfc82..84935d8 100644 --- a/generator/templates/art/api_kotlin_types.kt +++ b/generator/templates/art/api_kotlin_types.kt
@@ -38,7 +38,7 @@ {%- endif %} {% elif type.name.get() == 'void' %} {{- assert(arg.length and arg.constant_length != 1) -}} {# void with length is binary data #} - java.nio.ByteBuffer{{ ' = java.nio.ByteBuffer.allocateDirect(0)' if emit_defaults }} + java.nio.ByteBuffer{{ ' = ByteBuffer.allocateDirect(0)' if emit_defaults }} {%- elif arg.length and arg.length != 'constant' %} {# * annotation can mean an array, e.g. an output argument #} {%- if type.category in ['callback function', 'callback info', 'function pointer', 'object', 'structure'] -%}