ggaren at apple.com
Fri Feb 15 10:45:56 PST 2019
> On Feb 15, 2019, at 6:54 AM, Werner Sharp <wsharp at adobe.com> wrote:
> Hi everyone,
> On a related note, one thing I’ve found slow is my own implementation of my C++ class’s hasInstance because of the locking. I tried to leave the JSClassRef hasInstance NULL assuming that the internal instanceOf would work properly. But that doesn’t appear to work because the JSCallbackObject always sets the ImplementsHasInstance flag but not the ImplementsDefaultHasInstance flag. I would think that “JSCallbackObject<Parent>::customHasInstance” could be enhanced to call defaultHasInstance if JSObjectHasInstanceCallback hasInstance always returns false?
> Or if there is some way that defautHasInstance can be called for a JSCallbackObject I’d appreciate to hear about it.
> Thanks for your time.
> Werner Sharp
> webkit-dev mailing list
> webkit-dev at lists.webkit.org <mailto:webkit-dev at lists.webkit.org>
> https://lists.webkit.org/mailman/listinfo/webkit-dev <https://lists.webkit.org/mailman/listinfo/webkit-dev>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev