IDL: Don't lose nullable flag when "preprocessing" type
The preprocessing converts any enumeration type into IdlType('DOMString'),
including nullable enumeration types, which is wrong. It should convert an
nullable enumeration type into IdlNullableType(IdlType('DOMString')).
This change affects the code generation for the following methods and
attributes:
object? WebGLRenderingContextBase.getExtension()
VendorIDSource? BluetoothDevice.vendorIDSource [can return null]
RTCSdpType? RTCSessionDescription.type [can be set to and return null]
BUG=451602
Review URL: https://codereview.chromium.org/928233002
git-svn-id: svn://svn.chromium.org/blink/trunk@190259 bbb929c8-8fbe-4397-9dbb-9b2b20218538
6 files changed