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:
@@ -742,7 +742,6 @@ public:
|
||||
CPluginStreamInfo(const char* URL, nsIPluginInputStream* inStr, nsMIMEType type, PRBool seekable)
|
||||
: mURL(URL), mInputStream(inStr), mMimeType(type), mIsSeekable(seekable)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
virtual ~CPluginStreamInfo() {}
|
||||
@@ -1490,9 +1489,6 @@ NPP_HandleEvent(NPP instance, void* event)
|
||||
|
||||
CPluginManager::CPluginManager(void)
|
||||
{
|
||||
// Set reference count to 0.
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
mLiveconnect = NULL;
|
||||
|
||||
#ifdef XP_MAC
|
||||
@@ -2066,9 +2062,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*));
|
||||
@@ -2362,8 +2355,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)
|
||||
@@ -2496,8 +2487,6 @@ CPluginInputStream::CPluginInputStream(nsIPluginStreamListener* listener)
|
||||
mBuffer(NULL), mBufferLength(0), mAmountRead(0),
|
||||
mStreamInfo(NULL)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
if (mListener != NULL) {
|
||||
mListener->AddRef();
|
||||
mListener->GetStreamType(&mStreamType);
|
||||
|
||||
@@ -50,7 +50,6 @@
|
||||
EmbeddedFramePluginInstance::EmbeddedFramePluginInstance()
|
||||
: mPeer(NULL), mFrame(NULL)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
EmbeddedFramePluginInstance::~EmbeddedFramePluginInstance()
|
||||
|
||||
@@ -201,8 +201,6 @@ static jobject GetCurrentThread(JNIEnv* env)
|
||||
MRJSecurityContext::MRJSecurityContext(const char* location)
|
||||
: mLocation(nsnull), mConnection(nsnull)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
mLocation = ::strdup(location);
|
||||
if (mLocation) {
|
||||
// find the 3rd slash of the URL, hopefully it's in canonical form.
|
||||
|
||||
@@ -87,7 +87,6 @@ public:
|
||||
MRJInputStream(MRJSession* session)
|
||||
: mMonitor(session), mOffset(0), mComplete(false)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
mBuffer.reserve(8192);
|
||||
}
|
||||
|
||||
|
||||
@@ -50,7 +50,6 @@
|
||||
EmbeddedFramePluginInstance::EmbeddedFramePluginInstance()
|
||||
: mPeer(NULL), mFrame(NULL)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
EmbeddedFramePluginInstance::~EmbeddedFramePluginInstance()
|
||||
|
||||
Reference in New Issue
Block a user