mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2024-12-13 01:56:20 +01:00
15 lines
643 B
Diff
15 lines
643 B
Diff
diff --git ui/base/x/x11_os_exchange_data_provider.cc ui/base/x/x11_os_exchange_data_provider.cc
|
|
index 88a24bab57b5..d130fcc0eca8 100644
|
|
--- ui/base/x/x11_os_exchange_data_provider.cc
|
|
+++ ui/base/x/x11_os_exchange_data_provider.cc
|
|
@@ -134,7 +134,8 @@ void XOSExchangeDataProvider::SetURL(const GURL& url,
|
|
format_map_.Insert(gfx::GetAtom(kMimeTypeMozillaURL), mem);
|
|
|
|
// 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
|