зеркало из https://github.com/mozilla/gecko-dev.git
Bug 42518. Remove bogus re-implementation of GetCurrentSession(). r=pink
This commit is contained in:
Родитель
25bd94e3b6
Коммит
0e278f705b
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче