Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(540)

Unified Diff: ui/aura/mus/os_exchange_data_provider_mus.cc

Issue 2607063002: Remove mojo::Array. (Closed)
Patch Set: rebase Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/aura/mus/os_exchange_data_provider_mus.cc
diff --git a/ui/aura/mus/os_exchange_data_provider_mus.cc b/ui/aura/mus/os_exchange_data_provider_mus.cc
index 56562771a8d1df3d3cb1fcc4f15399bdbd81ffda..538cbb155cc5ca32ce7f345fdb4a179b3f9e1ec9 100644
--- a/ui/aura/mus/os_exchange_data_provider_mus.cc
+++ b/ui/aura/mus/os_exchange_data_provider_mus.cc
@@ -14,7 +14,6 @@
#include "base/strings/string_split.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
-#include "mojo/common/common_type_converters.h"
#include "net/base/filename_util.h"
#include "services/ui/public/interfaces/clipboard.mojom.h"
#include "ui/base/dragdrop/file_info.h"
@@ -131,7 +130,7 @@ void OSExchangeDataProviderMus::SetPickledData(
reinterpret_cast<const unsigned char*>(pickle.data());
mime_data_[format.Serialize()] =
- mojo::Array<uint8_t>(std::vector<uint8_t>(bytes, bytes + pickle.size()));
+ std::vector<uint8_t>(bytes, bytes + pickle.size());
}
bool OSExchangeDataProviderMus::GetString(base::string16* data) const {

Powered by Google App Engine
This is Rietveld 408576698