Index: services/ui/ws/window_server_test_impl.cc |
diff --git a/services/ui/ws/window_server_test_impl.cc b/services/ui/ws/window_server_test_impl.cc |
index 64ec2d57a154653e4311f57439deb764575f5e76..ff5e7414560478cd4f051eb3252c81aca880fa02 100644 |
--- a/services/ui/ws/window_server_test_impl.cc |
+++ b/services/ui/ws/window_server_test_impl.cc |
@@ -18,9 +18,7 @@ namespace { |
bool WindowHasValidFrame(const ServerWindow* window) { |
const ServerWindowCompositorFrameSinkManager* manager = |
window->compositor_frame_sink_manager(); |
- return manager && |
- !manager->GetLatestFrameSize(mojom::CompositorFrameSinkType::DEFAULT) |
- .IsEmpty(); |
+ return manager && !manager->GetLatestFrameSize().IsEmpty(); |
} |
} // namespace |