mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2024-12-12 01:26:03 +01:00
47d69a842a
- mac: Xcode 14.0 with macOS SDK 13.0 is now required. - Remove CefRequestHandler::OnQuotaRequest because persistent quota is no longer supported (see https://crbug.com/1208141)
15 lines
645 B
Diff
15 lines
645 B
Diff
diff --git ui/base/x/x11_os_exchange_data_provider.cc ui/base/x/x11_os_exchange_data_provider.cc
|
|
index 50f6783cda7a0..a8f781375c719 100644
|
|
--- ui/base/x/x11_os_exchange_data_provider.cc
|
|
+++ ui/base/x/x11_os_exchange_data_provider.cc
|
|
@@ -139,7 +139,8 @@ void XOSExchangeDataProvider::SetURL(const GURL& url,
|
|
format_map_.Insert(x11::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
|