зеркало из https://github.com/mozilla/gecko-dev.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:
Родитель
cdd317c3b4
Коммит
bd6351b5ba
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче