bind-gen: Implement NativeValueTraits<IDLStringV2>
The old bindings generator uses V8StringResource without NativeValueTraits, and existing NativeValueTraits<IDLString> is not as much performative as V8StringResource. This patch introduces NativeValueTraits<IDLStringV2> which uses the same technique as V8StringResource so that the new bindings generator can use NativeValueTraits for all the types without performance regression. Bug: 839389 Change-Id: Ibf7f40ba36d10affdef70d489f0f56a005bf73f4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1993360 Commit-Queue: Yuki Shiino <yukishiino@chromium.org> Reviewed-by:Hitoshi Yoshida <peria@chromium.org> Cr-Commit-Position: refs/heads/master@{#730159}
Showing
Please register or sign in to comment