Index: ui/gfx/ozone/dri/dri_surface_factory_unittest.cc |
diff --git a/ui/gfx/ozone/dri/dri_surface_factory_unittest.cc b/ui/gfx/ozone/dri/dri_surface_factory_unittest.cc |
index 55ae6cd867a79daac508f2f5a4a6064f630c95e1..75bf490c076de7b51cfc19fdf0cb7927966fc81e 100644 |
--- a/ui/gfx/ozone/dri/dri_surface_factory_unittest.cc |
+++ b/ui/gfx/ozone/dri/dri_surface_factory_unittest.cc |
@@ -243,18 +243,6 @@ TEST_F(DriSurfaceFactoryTest, FailSurfaceInitialization) { |
EXPECT_EQ(gfx::kNullAcceleratedWidget, factory_->RealizeAcceleratedWidget(w)); |
} |
-TEST_F(DriSurfaceFactoryTest, FailBindingSurfaceToController) { |
- EXPECT_EQ(gfx::SurfaceFactoryOzone::INITIALIZED, |
- factory_->InitializeHardware()); |
- |
- factory_->get_drm()->set_add_framebuffer_expectation(false); |
- |
- gfx::AcceleratedWidget w = factory_->GetAcceleratedWidget(); |
- EXPECT_EQ(kDefaultWidgetHandle, w); |
- |
- EXPECT_EQ(gfx::kNullAcceleratedWidget, factory_->RealizeAcceleratedWidget(w)); |
-} |
- |
TEST_F(DriSurfaceFactoryTest, SuccessfulWidgetRealization) { |
EXPECT_EQ(gfx::SurfaceFactoryOzone::INITIALIZED, |
factory_->InitializeHardware()); |