2017-04-27 03:59:52 +02:00
|
|
|
diff --git ui/base/dragdrop/os_exchange_data_provider_aurax11.cc ui/base/dragdrop/os_exchange_data_provider_aurax11.cc
|
2016-08-31 13:25:56 +02:00
|
|
|
index 9b93593..fe0f44a 100644
|
2017-04-27 03:59:52 +02:00
|
|
|
--- ui/base/dragdrop/os_exchange_data_provider_aurax11.cc
|
|
|
|
+++ ui/base/dragdrop/os_exchange_data_provider_aurax11.cc
|
2016-08-31 13:25:56 +02:00
|
|
|
@@ -162,7 +162,8 @@ void OSExchangeDataProviderAuraX11::SetURL(const GURL& url,
|
2016-06-21 00:59:23 +02:00
|
|
|
mem);
|
2014-07-09 00:37:06 +02:00
|
|
|
|
|
|
|
// Set a string fallback as well.
|
|
|
|
- SetString(spec);
|
|
|
|
+ if (!HasString())
|
|
|
|
+ SetString(spec);
|
|
|
|
|
|
|
|
// Return early if this drag already contains file contents (this implies
|
|
|
|
// that file contents must be populated before URLs). Nautilus (and possibly
|