Chromium Code Reviews
DescriptionIDL: Support nullable union types
Two part fix:
1) Make idl_type.is_implicit_nullable true for union types, indicating
that the generated union type containers can represent null.
2) When using IdlType.name as a C++ name, as we do for union types, make
sure to "look through" a possible IdlNullableType wrapper, since the
"OrNull" suffix it adds makes no sense in C++ code.
BUG=240176
Patch Set 1 #
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||