зеркало из https://github.com/mozilla/pjs.git
Fix xlib bustage, use .get() where previously implicit conversion from nsCString to const char* was used. patch by gisburn, r=jag, rs=scc.
This commit is contained in:
Родитель
3903355328
Коммит
4ad76f6d7f
|
@ -209,8 +209,8 @@ NS_IMETHODIMP nsDragService::GetData(nsITransferable *aTransferable, PRUint32 an
|
|||
nsCOMPtr <nsISupports> data;
|
||||
PRUint32 dataLen = 0;
|
||||
|
||||
item->GetTransferData(foundFlavor, getter_AddRefs(data), &dataLen);
|
||||
aTransferable->SetTransferData(foundFlavor, data, dataLen);
|
||||
item->GetTransferData(foundFlavor.get(), getter_AddRefs(data), &dataLen);
|
||||
aTransferable->SetTransferData(foundFlavor.get(), data, dataLen);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче