Index: components/view_manager/view_manager_service_unittest.cc |
diff --git a/components/view_manager/view_manager_service_unittest.cc b/components/view_manager/view_manager_service_unittest.cc |
index 1d6e1432149ee1beb8a949ee6c91de994339fca8..c9f0691c637c6c7bd2f9f59d0e266eded198b2b5 100644 |
--- a/components/view_manager/view_manager_service_unittest.cc |
+++ b/components/view_manager/view_manager_service_unittest.cc |
@@ -300,7 +300,9 @@ class ViewManagerServiceTest : public testing::Test { |
void SetUp() override { |
DisplayManager::set_factory_for_testing(&display_manager_factory_); |
// TODO(fsamuel): This is probably broken. We need a root. |
- connection_manager_.reset(new ConnectionManager(&delegate_)); |
+ connection_manager_.reset( |
+ new ConnectionManager(&delegate_, |
+ scoped_refptr<surfaces::SurfacesState>())); |
ViewManagerRootImpl* root = new ViewManagerRootImpl( |
connection_manager_.get(), true /* is_headless */, nullptr, |
scoped_refptr<gles2::GpuState>(), |