Sorry for this too short question. sRule is an nsCOMPtr nsIStyleRule object.
nsIStyleRule no longer has a GetStyleSheet() method. Are you running this code against a current tip tree? Or an old one where this method existed?
and it doesn't crash anymore. But i still wonder why ?
Again, you've not given anywhere close to enough information to answer your question. Not even the information I asked for explicitly in my response to your original mail.
Sorry, but doing this the 20 Questions way isn't going to work.
-Boris
_______________________________________________ mozilla-embedding mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-embedding
