Index: cc/resources/resource_provider_unittest.cc |
diff --git a/cc/resources/resource_provider_unittest.cc b/cc/resources/resource_provider_unittest.cc |
index 547bdbbaa85ddce6071c5e5e81aef70e1c3c3d37..4bf9ec0565ec4bcfb59c97adab3d3f87749aaa00 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()); |