removed errant |QueryInterface()|s in favor of appropriate macros, as part of bug#23737. Changed |NS_DEFINE_IID| to |NS_DEFINE_CID| where appropriate; or else removed it, and fixed up clients to use |NS_GET_IID| in the appropriate spots. Built and ran pre-checkin tests. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@59313 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -30,11 +30,7 @@
|
||||
|
||||
|
||||
/* Define Class IDs */
|
||||
static NS_DEFINE_IID(kCmdLineServiceCID, NS_COMMANDLINE_SERVICE_CID);
|
||||
|
||||
/* Define Interface IDs */
|
||||
|
||||
static NS_DEFINE_IID(kIFactoryIID, NS_IFACTORY_IID);
|
||||
static NS_DEFINE_CID(kCmdLineServiceCID, NS_COMMANDLINE_SERVICE_CID);
|
||||
|
||||
|
||||
class nsCmdLineService : public nsICmdLineService
|
||||
@@ -323,7 +319,7 @@ nsCmdLineServiceFactory::~nsCmdLineServiceFactory()
|
||||
{
|
||||
}
|
||||
|
||||
NS_IMPL_ISUPPORTS(nsCmdLineServiceFactory, kIFactoryIID);
|
||||
NS_IMPL_ISUPPORTS1(nsCmdLineServiceFactory, nsIFactory);
|
||||
|
||||
|
||||
nsresult
|
||||
|
||||
Reference in New Issue
Block a user