Index: ui/base/dragdrop/os_exchange_data_provider_aura.cc |
diff --git a/ui/base/dragdrop/os_exchange_data_provider_aura.cc b/ui/base/dragdrop/os_exchange_data_provider_aura.cc |
index 2a44793d070b8f36a6bb31d92f62a95797815445..0d4fb90d22c66e2907160dfdd1cbaef964453a58 100644 |
--- a/ui/base/dragdrop/os_exchange_data_provider_aura.cc |
+++ b/ui/base/dragdrop/os_exchange_data_provider_aura.cc |
@@ -44,6 +44,9 @@ bool OSExchangeDataProviderAura::DidOriginateFromRenderer() const { |
} |
void OSExchangeDataProviderAura::SetString(const base::string16& data) { |
+ if (HasString()) |
+ return; |
+ |
string_ = data; |
formats_ |= OSExchangeData::STRING; |
} |