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

Unified Diff: services/ui/ws/event_dispatcher.cc

Issue 2603893002: Remove mojo::Map. (Closed)
Patch Set: rebase Created 3 years, 12 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
« no previous file with comments | « services/ui/ws/event_dispatcher.h ('k') | services/ui/ws/test_change_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/event_dispatcher.cc
diff --git a/services/ui/ws/event_dispatcher.cc b/services/ui/ws/event_dispatcher.cc
index 98d601c6604b9f72de3f910031d4b6b2bc8f351e..485bb5e1c208049deac68005d542941a2e6b3781 100644
--- a/services/ui/ws/event_dispatcher.cc
+++ b/services/ui/ws/event_dispatcher.cc
@@ -174,12 +174,12 @@ void EventDispatcher::SetDragDropSourceWindow(
ServerWindow* window,
DragTargetConnection* source_connection,
int32_t drag_pointer,
- mojo::Map<mojo::String, mojo::Array<uint8_t>> mime_data,
+ const std::unordered_map<std::string, std::vector<uint8_t>>& mime_data,
uint32_t drag_operations) {
CancelImplicitCaptureExcept(nullptr);
drag_controller_ = base::MakeUnique<DragController>(
- this, drag_source, window, source_connection, drag_pointer,
- std::move(mime_data), drag_operations);
+ this, drag_source, window, source_connection, drag_pointer, mime_data,
+ drag_operations);
}
void EventDispatcher::CancelDragDrop() {
« no previous file with comments | « services/ui/ws/event_dispatcher.h ('k') | services/ui/ws/test_change_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698