mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
bab6d17ebf
This patch makes the following changes on many in-class methods. - NS_IMETHODIMP F() override; --> NS_IMETHOD F() override; - NS_IMETHODIMP F() override {...} --> NS_IMETHOD F() override {...} - NS_IMETHODIMP F() final; --> NS_IMETHOD F() final; - NS_IMETHODIMP F() final {...} --> NS_IMETHOD F() final {...} Using NS_IMETHOD is the preferred way of marking in-class virtual methods. Although these transformations add an explicit |virtual|, they are safe -- there's an implicit |virtual| anyway because |override| and |final| only work with virtual methods. --HG-- extra : rebase_source : 386ee4e4ea2ecd8d5001efabc3ac87b4d6c0659f |
||
---|---|---|
.. | ||
tests | ||
BasePrincipal.cpp | ||
BasePrincipal.h | ||
DomainPolicy.cpp | ||
DomainPolicy.h | ||
moz.build | ||
nsIAddonPolicyService.idl | ||
nsIDomainPolicy.idl | ||
nsIPrincipal.idl | ||
nsIScriptSecurityManager.idl | ||
nsJSPrincipals.cpp | ||
nsJSPrincipals.h | ||
nsNullPrincipal.cpp | ||
nsNullPrincipal.h | ||
nsNullPrincipalURI.cpp | ||
nsNullPrincipalURI.h | ||
nsPrincipal.cpp | ||
nsPrincipal.h | ||
nsScriptSecurityManager.cpp | ||
nsScriptSecurityManager.h | ||
nsSystemPrincipal.cpp | ||
nsSystemPrincipal.h |