DescriptionIDL: Set dictionary default values in impl constructor
The current implementation sets default values in
V8T::toNative(). However, there are some code paths in which
we don't call V8T::toNative(). For example, if an IDL dictionary
is an optional argument and it isn't given, the binding layer
creates impl class by calling T::create() and passes it to
blink without calling V8T::toNative(). Since all dictionary impl
class instances should have default values, we should sets
default values in impl constructor.
BUG=321462
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180384
Patch Set 1 #
Total comments: 1
Messages
Total messages: 8 (0 generated)
|