mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 21:28:55 +00:00
Bugzilla Bug 80181 mTransferable= (nsITransferable *) 0x0. Can't paste in xlib build.
r=dr sr=blizzard
This commit is contained in:
parent
8d6324b1e2
commit
d4907d92d8
@ -309,7 +309,9 @@ NS_IMETHODIMP nsClipboard::GetData(nsITransferable *aTransferable,
|
||||
// Get which transferable we should use.
|
||||
NS_IF_RELEASE(mTransferable);
|
||||
mTransferable = GetTransferable(aWhichClipboard);
|
||||
NS_IF_ADDREF(mTransferable);
|
||||
NS_ASSERTION(!mTransferable,"mTransferable is null!! see bug 80181");
|
||||
if (!mTransferable) return NS_ERROR_FAILURE;
|
||||
NS_ADDREF(mTransferable);
|
||||
|
||||
// If we currently own the selection, we will handle the paste
|
||||
// internally, otherwise get the data from the X server
|
||||
|
Loading…
x
Reference in New Issue
Block a user