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

Unified Diff: components/mus/ws/event_matcher.cc

Issue 2008193002: Change mojo geometry structs from using type converters to StructTraits. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: components/mus/ws/event_matcher.cc
diff --git a/components/mus/ws/event_matcher.cc b/components/mus/ws/event_matcher.cc
index bb0659bd53935d4bcb91b8b6e4a883c2322a01c8..4c51fe1e09e418c1ed9ee47c3f01d43fb040a796 100644
--- a/components/mus/ws/event_matcher.cc
+++ b/components/mus/ws/event_matcher.cc
@@ -4,7 +4,6 @@
#include "components/mus/ws/event_matcher.h"
-#include "mojo/converters/geometry/geometry_type_converters.h"
#include "mojo/converters/input_events/input_events_type_converters.h"
namespace mus {
@@ -70,7 +69,7 @@ EventMatcher::EventMatcher(const mojom::EventMatcher& matcher)
}
if (matcher.pointer_location_matcher) {
fields_to_match_ |= POINTER_LOCATION;
- pointer_region_ = matcher.pointer_location_matcher->region.To<gfx::RectF>();
+ pointer_region_ = matcher.pointer_location_matcher->region;
}
}

Powered by Google App Engine
This is Rietveld 408576698