[webkit-dev] JavaScriptCore constructor callback and class questions

2008-01-08 Thread Dan Waylonis
Hi, I'm using JavaScriptCore and have created a custom class to be used within the global context. I've defined a constructor callback with the signature of JSObjectCallAsConstructorCallback: JSObjectRef PointConstructor(JSContextRef ctx, JSObjectRef constructor, size_t argumentCount, co

[webkit-dev] Re: WebKit graphics

2008-01-08 Thread Alp Toker
Marc-Antoine Ruel wrote: Hi Alp, About bug 16095 , you wrote: ... GraphicsContext::GraphicsContext(PlatformGraphicsContext* context) : m_common(createGraphicsContextPrivate()) , m_data(new GraphicsContextPlatformPrivate) --- What this pa

[webkit-dev] Re: WebKit graphics

2008-01-08 Thread Marc-Antoine Ruel
Hi Alp, About bug 16095 , you wrote: « The added feature seems unusable since, even if the classes are subclassed, there is still static code instantiating the base class in GraphicsContext. In light of this, I think this patch is incomplete or wrong