Index: ui/ozone/platform/dri/dri_surface_unittest.cc |
diff --git a/ui/ozone/platform/dri/dri_surface_unittest.cc b/ui/ozone/platform/dri/dri_surface_unittest.cc |
index af47a64dd052d96c630635b40deda3f858be0eaf..397e54f0b9513d4ed2b409ee92e1051638b57754 100644 |
--- a/ui/ozone/platform/dri/dri_surface_unittest.cc |
+++ b/ui/ozone/platform/dri/dri_surface_unittest.cc |
@@ -61,7 +61,7 @@ TEST_F(DriSurfaceTest, SuccessfulInitialization) { |
TEST_F(DriSurfaceTest, CheckFBIDOnSwap) { |
EXPECT_TRUE(surface_->Initialize()); |
- controller_->BindSurfaceToController(surface_.PassAs<ui::DriSurface>(), |
+ controller_->BindSurfaceToController(surface_.PassAs<ui::ScanoutSurface>(), |
kDefaultMode); |
// Check that the framebuffer ID is correct. |