CodeGen: Update default value expression of union types
If we want to instantiate a Union classes object from a member type value, we need to use a factory method |FromXxx|. This CL updates make_deafult_value_expr to use it. Bug: 839389 Change-Id: Ie2abbef18a6211c8fe59e6abe6f795966131b4fe Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2018563Reviewed-by:Yuki Shiino <yukishiino@chromium.org> Commit-Queue: Hitoshi Yoshida <peria@chromium.org> Cr-Commit-Position: refs/heads/master@{#735340}
Showing
Please register or sign in to comment