bindings: Add a migration adapter of IDL compilers
The code generator will be updated soon (issue 839389), and the new generator does not generate WTF::String for IDL enumerations. In gpu_device.cc, the return type of descriptor->extensions() in the constructor will be Vector<V8GPUExtensionName> from Vector<String>. This CL as an adapter function to make the generators migration easy. The function makes a Vector<String> from either of Vector<String> or Vector<V8GPUExtensionName>. Bug: 839389, 1092328 Change-Id: Ib3c96f1509fa3ba1986222a13f591b42b9759258 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2352258 Commit-Queue: Hitoshi Yoshida <peria@chromium.org> Reviewed-by:Yuki Shiino <yukishiino@chromium.org> Reviewed-by:
Kai Ninomiya <kainino@chromium.org> Cr-Commit-Position: refs/heads/master@{#799021}
Showing
Please register or sign in to comment