| Index: content/browser/web_contents/web_drag_dest_mac.mm
|
| diff --git a/content/browser/web_contents/web_drag_dest_mac.mm b/content/browser/web_contents/web_drag_dest_mac.mm
|
| index ec3b00035ddbea2fe261fc4456aab6320a9c8158..07b04ad7eb1c924892cc694f02c51d5655325c41 100644
|
| --- a/content/browser/web_contents/web_drag_dest_mac.mm
|
| +++ b/content/browser/web_contents/web_drag_dest_mac.mm
|
| @@ -142,7 +142,7 @@ int GetModifierFlags() {
|
| return NSDragOperationNone;
|
|
|
| if ([self onlyAllowsNavigation]) {
|
| - if ([[info draggingPasteboard] containsURLData])
|
| + if ([[info draggingPasteboard] containsURLDataConvertingTextToURL:YES])
|
| return NSDragOperationCopy;
|
| return NSDragOperationNone;
|
| }
|
| @@ -200,7 +200,7 @@ int GetModifierFlags() {
|
| return NSDragOperationNone;
|
|
|
| if ([self onlyAllowsNavigation]) {
|
| - if ([[info draggingPasteboard] containsURLData])
|
| + if ([[info draggingPasteboard] containsURLDataConvertingTextToURL:YES])
|
| return NSDragOperationCopy;
|
| return NSDragOperationNone;
|
| }
|
| @@ -231,7 +231,7 @@ int GetModifierFlags() {
|
| // Check if we only allow navigation and navigate to a url on the pasteboard.
|
| if ([self onlyAllowsNavigation]) {
|
| NSPasteboard* pboard = [info draggingPasteboard];
|
| - if ([pboard containsURLData]) {
|
| + if ([pboard containsURLDataConvertingTextToURL:YES]) {
|
| GURL url;
|
| ui::PopulateURLAndTitleFromPasteboard(&url, NULL, pboard, YES);
|
| webContents_->OpenURL(OpenURLParams(
|
|
|