Index: components/mus/ws/event_matcher.cc |
diff --git a/components/mus/ws/event_matcher.cc b/components/mus/ws/event_matcher.cc |
index 1ca1aff5b20300567062fbfbb3be4cbde0d3afe1..1dc16524e07645b7cac182da72714cd0d02dfda8 100644 |
--- a/components/mus/ws/event_matcher.cc |
+++ b/components/mus/ws/event_matcher.cc |
@@ -5,7 +5,6 @@ |
#include "components/mus/ws/event_matcher.h" |
#include "ui/events/mojo/input_events_type_converters.h" |
-#include "ui/gfx/geometry/mojo/geometry_type_converters.h" |
namespace mus { |
namespace ws { |
@@ -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; |
} |
} |