diff options
Diffstat (limited to 'cc/resources/resource_provider_unittest.cc')
-rw-r--r-- | cc/resources/resource_provider_unittest.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cc/resources/resource_provider_unittest.cc b/cc/resources/resource_provider_unittest.cc index 547bdbb..4bf9ec0 100644 --- a/cc/resources/resource_provider_unittest.cc +++ b/cc/resources/resource_provider_unittest.cc @@ -3185,10 +3185,12 @@ void InitializeGLAndCheck(ContextSharedData* shared_data, TEST(ResourceProviderTest, BasicInitializeGLSoftware) { scoped_ptr<ContextSharedData> shared_data = ContextSharedData::Create(); - FakeOutputSurfaceClient client; + bool delegated_rendering = false; scoped_ptr<FakeOutputSurface> output_surface( FakeOutputSurface::CreateDeferredGL( - scoped_ptr<SoftwareOutputDevice>(new SoftwareOutputDevice))); + scoped_ptr<SoftwareOutputDevice>(new SoftwareOutputDevice), + delegated_rendering)); + FakeOutputSurfaceClient client(output_surface.get()); EXPECT_TRUE(output_surface->BindToClient(&client)); scoped_ptr<SharedBitmapManager> shared_bitmap_manager( new TestSharedBitmapManager()); |