Bug 728707, check return result of getting transferable, r=smaug

This commit is contained in:
Neil Deakin 2012-02-23 15:59:45 -05:00
parent 3e33a45b3f
commit 4b83914437

View File

@ -691,6 +691,7 @@ DragDataProducer::Produce(nsDOMDataTransfer* aDataTransfer,
rv = nsCopySupport::GetTransferableForNode(nodeToSerialize, doc,
getter_AddRefs(transferable));
}
NS_ENSURE_SUCCESS(rv, rv);
nsCOMPtr<nsISupportsString> data;
PRUint32 dataSize;