DescriptionIDL: Prefer to extend IdlTypeBase instead of IdlType
In v8_types.py and elsewhere, we extend the classes defined in idl_types.py
by adding properties or methods. Usually, these properties or methods are
supposed to be available on all type objects. Since all type objects now
have a common base class, IdlTypeBase, prefer to set new properties and
methods on it instead of on IdlType.
This doesn't change CG, and is done to simplify the process of adding new
IdlTypeBase sub-classes in the future.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180276
Patch Set 1 #
Total comments: 2
Patch Set 2 : drop import of IdlType #
Messages
Total messages: 10 (0 generated)
|