CodeGen: Define setter for rvalue initialization
The new code generator of IDL dictionary provides a templated setter, but it doesn't work for initializer lists to construct a member directly. This CL adds another setter for rvalues of member types, and makes it possible to initialize a member through the setters. Bug: 839389 Change-Id: I89ffd79fff92a58ac722052334afa639d9cf7918 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2129377 Commit-Queue: Hitoshi Yoshida <peria@chromium.org> Reviewed-by:Yuki Shiino <yukishiino@chromium.org> Cr-Commit-Position: refs/heads/master@{#755256}
Showing
Please register or sign in to comment