Bug 42518. Remove bogus re-implementation of GetCurrentSession(). r=pink
git-svn-id: svn://10.0.0.236/trunk@72330 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
884e996435
commit
9f0f77a822
@ -267,16 +267,6 @@ NS_IMETHODIMP nsDragService::IsDataFlavorSupported(const char *aDataFlavor, PRBo
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
NS_IMETHODIMP nsDragService::GetCurrentSession (nsIDragSession ** aSession)
|
||||
{
|
||||
if ( !aSession )
|
||||
return NS_ERROR_FAILURE;
|
||||
|
||||
*aSession = (nsIDragSession *)this;
|
||||
NS_ADDREF(*aSession);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// IsCollectionObject
|
||||
@ -304,4 +294,4 @@ nsDragService :: IsCollectionObject ( IDataObject* inDataObj )
|
||||
|
||||
return isCollection;
|
||||
|
||||
} // IsCollectionObject
|
||||
} // IsCollectionObject
|
||||
|
||||
@ -42,7 +42,6 @@ public:
|
||||
|
||||
// nsIDragService
|
||||
NS_IMETHOD InvokeDragSession (nsIDOMNode *aDOMNode, nsISupportsArray * anArrayTransferables, nsIScriptableRegion * aRegion, PRUint32 aActionType);
|
||||
NS_IMETHOD GetCurrentSession (nsIDragSession ** aSession);
|
||||
|
||||
// nsIDragSession
|
||||
NS_IMETHOD GetData (nsITransferable * aTransferable, PRUint32 anItem);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user