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; |
} |
} |