Index: ui/ozone/platform/wayland/wayland_pointer_unittest.cc |
diff --git a/ui/ozone/platform/wayland/wayland_pointer_unittest.cc b/ui/ozone/platform/wayland/wayland_pointer_unittest.cc |
index fc43ea46a0892b483d460302adfe7819245a1228..3d0c13780dd8047efb7874cf58a55c918414e6e7 100644 |
--- a/ui/ozone/platform/wayland/wayland_pointer_unittest.cc |
+++ b/ui/ozone/platform/wayland/wayland_pointer_unittest.cc |
@@ -43,7 +43,7 @@ class WaylandPointerTest : public WaylandTest { |
TEST_F(WaylandPointerTest, Leave) { |
MockPlatformWindowDelegate other_delegate; |
- WaylandWindow other_window(&other_delegate, &display, |
+ WaylandWindow other_window(&other_delegate, &connection, |
gfx::Rect(0, 0, 10, 10)); |
gfx::AcceleratedWidget other_widget = gfx::kNullAcceleratedWidget; |
EXPECT_CALL(other_delegate, OnAcceleratedWidgetAvailable(_, _)) |