Commit Graph

4 Commits

Author SHA1 Message Date
Nathan Froyd
5ea83381f3 Bug 1143651 - don't use CallQueryInterface when the compiler can do the cast for us; r=ehsan 2015-03-12 13:20:29 -04:00
Nathan Froyd
26a0b56c7a Bug 1142503 - don't use QueryInterface when the compiler can do the cast for us; r=ehsan
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.
2015-03-12 09:43:50 -04:00
Brian Marshall
e369c9e9bd Bug 1074557 - Remove the lock in nsWindowMediator. r=Neil 2014-10-16 15:45:17 -07:00
Birunthan Mohanathas
fe7c86ea08 Bug 1047873 - Flatten xpfe/appshell/{public,src}/ directories. r=Neil 2014-08-02 13:44:23 -07:00