| Index: services/ui/ws/window_finder.cc
|
| diff --git a/services/ui/ws/window_finder.cc b/services/ui/ws/window_finder.cc
|
| index 90c11688eddc5a3101596b8b64e766b133bcfb01..096bbdfcda16b953bb5b72681200c1d13ef94c68 100644
|
| --- a/services/ui/ws/window_finder.cc
|
| +++ b/services/ui/ws/window_finder.cc
|
| @@ -23,10 +23,7 @@ bool IsValidWindowForEvents(ServerWindow* window) {
|
| // is valid as we assume the window manager will likely get the event in this
|
| // case.
|
| return compositor_frame_sink_manager &&
|
| - (compositor_frame_sink_manager->HasCompositorFrameSinkOfType(
|
| - mojom::CompositorFrameSinkType::DEFAULT) ||
|
| - compositor_frame_sink_manager->HasCompositorFrameSinkOfType(
|
| - mojom::CompositorFrameSinkType::UNDERLAY));
|
| + compositor_frame_sink_manager->HasCompositorFrameSink();
|
| }
|
|
|
| ServerWindow* FindDeepestVisibleWindowForEvents(ServerWindow* window,
|
|
|