Richard wrote:
it goes into a totally unrelated function inside nsDocument.cpp (in the above case GetNumberOfStyleSheets()).
Ah, I think I figured it out. I assume you are not defining MOZILLA_INTERNAL_API. In such a case, all functions on nsINode are ifdeffed out, so the compiler picks the wrong vtable entry when calling nsIDocument functions (as nsIDocument is a subclass of nsINode).
That seems bad.... _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
