Changing comment in the sample code, this is not part of the build

This commit is contained in:
av%netscape.com 2002-10-16 21:05:29 +00:00
parent b7ab92f3d6
commit cde3c8dd47

View File

@ -69,7 +69,9 @@ NPError NS_PluginInitialize()
NPN_GetValue(NULL, NPNVserviceManager, &sm);
// Mozilla returns nsIServiceManagerObsolete which can be queried for nsIServiceManager
// Mozilla returns nsIServiceManager so we can use it directly, doing QI on
// nsISupports here can still be more appropriate in case something is changed
// in the future so we don't need to do casting of any sort.
if(sm) {
sm->QueryInterface(NS_GET_IID(nsIServiceManager), (void**)&gServiceManager);
NS_RELEASE(sm);