DescriptionIDL: initialize union member variables (to null/zero)
Since we now use non-null to represent union member presence, either by
wrapping with Nullable<> or using the implicit null value (for pointers
and strings,) we must make sure the locals we pass to the implementation
are all properly initialized to null.
For strings and RefPtr<>/OwnPtr<>, this requires no special care due to
default constructors taking care of it. For RawPtr<> (when used in
practice, i.e. mostly in Oilpan builds) we need to initialize explicitly.
This fixes Oilpan crashes introduced by this CL:
https://codereview.chromium.org/466323002/
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180405
Patch Set 1 #
Messages
Total messages: 7 (0 generated)
|