Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(222)

Unified Diff: services/ui/ws/window_server_test_impl.cc

Issue 2617403003: Mus: Remove CompositorFrameSinkType (Closed)
Patch Set: Fix some unit tests Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/ui/ws/window_server.cc ('k') | services/ui/ws/window_tree.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « services/ui/ws/window_server.cc ('k') | services/ui/ws/window_tree.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698