зеркало из https://github.com/mozilla/gecko-dev.git
b252a27930
Calling QueryInterface with a statically known IID should typically not be necessary. In those cases where it's not, the compiler can do the cast for us, though we have to supply the reference-counting that QueryInterface would do. In passing, several redundant null-checks for the result of |new T| have been deleted. |
||
---|---|---|
.. | ||
appshell | ||
components | ||
test |