Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136019 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1071,9 +1071,6 @@ NPP_HandleEvent(NPP instance, void* event)
|
||||
|
||||
CPluginManager::CPluginManager(void)
|
||||
{
|
||||
// Set reference count to 0.
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
mLiveconnect = NULL;
|
||||
}
|
||||
|
||||
@@ -1374,9 +1371,6 @@ CPluginInstancePeer::CPluginInstancePeer(nsIPluginInstance* pluginInstance,
|
||||
npp(npp), typeString(typeString), type(type), attribute_cnt(attr_cnt),
|
||||
attribute_list(NULL), values_list(NULL)
|
||||
{
|
||||
// Set the reference count to 0.
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
NS_IF_ADDREF(mInstance);
|
||||
|
||||
attribute_list = (char**) NPN_MemAlloc(attr_cnt * sizeof(const char*));
|
||||
@@ -1620,8 +1614,6 @@ CPluginInstancePeer::QueryInterface(const nsIID& iid, void** ptr)
|
||||
CPluginManagerStream::CPluginManagerStream(NPP npp, NPStream* pstr)
|
||||
: npp(npp), pstream(pstr)
|
||||
{
|
||||
// Set the reference count to 0.
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
CPluginManagerStream::~CPluginManagerStream(void)
|
||||
@@ -1726,8 +1718,6 @@ CPluginInputStream::CPluginInputStream(nsIPluginStreamListener* listener)
|
||||
mBuffer(NULL), mBufferLength(0), mAmountRead(0),
|
||||
mStreamInfo(NULL)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
if (mListener != NULL) {
|
||||
mListener->AddRef();
|
||||
mListener->GetStreamType(&mStreamType);
|
||||
|
||||
Reference in New Issue
Block a user