CodeGen: Wrap IDL enum dictionary members with an adapter
The new code generator will use V8Enum classes for IDL enum members in IDL dictionaries. However, in some cases, implicit conversion of IDL enum to String doesn't work. This CL wraps them with IDLEnumAsString() to make them workable with both of old/new code generator. They will be unwrapped after migrating the code generators. Bug: 839389, 1070871 Change-Id: Ide73bca4fb4f7785b0c243fa1c2e7c8bfc99e6d6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2230588 Commit-Queue: Kinuko Yasuda <kinuko@chromium.org> Reviewed-by:Kinuko Yasuda <kinuko@chromium.org> Reviewed-by:
Yuki Shiino <yukishiino@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Auto-Submit: Hitoshi Yoshida <peria@chromium.org> Cr-Commit-Position: refs/heads/master@{#793525}
Showing
Please register or sign in to comment