From 5c2bfa73663b48696b6371973a0449a13f9eeb84 Mon Sep 17 00:00:00 2001 From: "joshmoz@gmail.com" Date: Thu, 18 Oct 2007 16:37:39 -0700 Subject: [PATCH] re-landing 398898 after it was backed out in an attempt to find a perf regression. patch by Stan Shebs. r=josh sr=roc --- widget/src/cocoa/nsClipboard.mm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/widget/src/cocoa/nsClipboard.mm b/widget/src/cocoa/nsClipboard.mm index a66998e0d14..49426b303a1 100644 --- a/widget/src/cocoa/nsClipboard.mm +++ b/widget/src/cocoa/nsClipboard.mm @@ -93,7 +93,10 @@ nsClipboard::SetNativeClipboardData(PRInt32 aWhichClipboard) for (unsigned int i = 0; i < outputCount; i++) { NSString* currentKey = [outputKeys objectAtIndex:i]; id currentValue = [pasteboardOutputDict valueForKey:currentKey]; - if (currentKey == NSStringPboardType) + if (currentKey == NSStringPboardType || + currentKey == kCorePboardType_url || + currentKey == kCorePboardType_urld || + currentKey == kCorePboardType_urln) [generalPBoard setString:currentValue forType:currentKey]; else [generalPBoard setData:currentValue forType:currentKey];