Index: services/view_manager/connection_manager.cc |
diff --git a/services/view_manager/connection_manager.cc b/services/view_manager/connection_manager.cc |
index d8388a441bfef4ab3d52f4a6a7a055051fbc6ede..ce2bb9cf45c81318d69091c60418f33111aa7c85 100644 |
--- a/services/view_manager/connection_manager.cc |
+++ b/services/view_manager/connection_manager.cc |
@@ -449,11 +449,6 @@ void ConnectionManager::DispatchInputEventToView(mojo::Id transport_view_id, |
const ViewId view_id(ViewIdFromTransportId(transport_view_id)); |
ViewManagerServiceImpl* connection = GetConnectionWithRoot(view_id); |
- // We only allow the connection that created a view to set properties on it. |
- // If the connection set 'event-root', then the connection wants the event and |
- // not any views that are embedded in it. |
- if (connection && GetView(view_id)->properties().count("event-root") > 0) |
- connection = nullptr; |
if (!connection) |
connection = GetConnection(view_id.connection_id); |
if (connection) { |