зеркало из https://github.com/mozilla/gecko-dev.git
Pavlov beat me to this. he changed the APIS while i was editing this file
This commit is contained in:
Родитель
c446b89ed3
Коммит
660131b97e
|
@ -170,7 +170,7 @@ nsAutoCopyService::NotifySelectionChanged(nsIDOMDocument *aDoc, nsIDOMSelection
|
|||
nsCOMPtr<nsISupports> generic(do_QueryInterface(dataWrapper));
|
||||
/* Length() is in characters, *2 gives bytes. */
|
||||
trans->SetTransferData(kXIFMime, generic, xifBuffer.Length() * 2);
|
||||
mClipboard->SetData(trans, nsnull);
|
||||
mClipboard->SetData(trans, nsnull,0);
|
||||
|
||||
#ifdef DEBUG_CLIPBOARD
|
||||
static char *reasons[] = {
|
||||
|
|
|
@ -170,7 +170,7 @@ nsAutoCopyService::NotifySelectionChanged(nsIDOMDocument *aDoc, nsIDOMSelection
|
|||
nsCOMPtr<nsISupports> generic(do_QueryInterface(dataWrapper));
|
||||
/* Length() is in characters, *2 gives bytes. */
|
||||
trans->SetTransferData(kXIFMime, generic, xifBuffer.Length() * 2);
|
||||
mClipboard->SetData(trans, nsnull);
|
||||
mClipboard->SetData(trans, nsnull,0);
|
||||
|
||||
#ifdef DEBUG_CLIPBOARD
|
||||
static char *reasons[] = {
|
||||
|
|
Загрузка…
Ссылка в новой задаче