Re: [css-regions] Possible change to the Region interface

On Thu, Oct 3, 2013 at 12:45 PM, Mihnea-Vlad Ovidenie <mihnea@adobe.com> wrote:
> On 10/1/13 6:07 PM, "Boris Zbarsky" <bzbarsky@MIT.EDU> wrote:
>>Indeed.  Gecko would represent the above as a vector of tagged unions on
>>the c++ side.
>
> Are you saying that Gecko has support for the above scenario without
> multiple inheritance in the C++ layer? Would you mind pointing me to where
> I should take a look and what are the interfaces involved?

Boris just said how it's done - with tagged unions.  We definitely use
tagged unions in a few places in WebKit/Blink code.  (I think
CSSValue, or some interface around that area, uses it.)

~TJ

Received on Thursday, 3 October 2013 20:35:43 UTC