mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-14 04:03:47 +00:00
![Boris Zbarsky](/assets/img/avatar_default.png)
We could drop the descriptor for Text if we changed nsIDocument::CreateTextNode to return an already_AddRefed<Text>, but then we'd need more casting in nsDocument.cpp for the XPCOM CreateTextNode. Not sure which way is better, really.