| Index: cc/resources/raster_worker_pool_unittest.cc
|
| diff --git a/cc/resources/raster_worker_pool_unittest.cc b/cc/resources/raster_worker_pool_unittest.cc
|
| index 8e47459d96aec9aa81146c3972d13aeee89df5ef..87281112435f73bb5db931b69d965936e89046b3 100644
|
| --- a/cc/resources/raster_worker_pool_unittest.cc
|
| +++ b/cc/resources/raster_worker_pool_unittest.cc
|
| @@ -17,6 +17,7 @@
|
| #include "cc/resources/scoped_resource.h"
|
| #include "cc/test/fake_output_surface.h"
|
| #include "cc/test/fake_output_surface_client.h"
|
| +#include "cc/test/test_shared_bitmap_manager.h"
|
| #include "cc/test/test_web_graphics_context_3d.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| @@ -129,8 +130,11 @@ class RasterWorkerPoolTest
|
| output_surface_ = FakeOutputSurface::Create3d(context_provider_).Pass();
|
| CHECK(output_surface_->BindToClient(&output_surface_client_));
|
|
|
| - resource_provider_ = ResourceProvider::Create(
|
| - output_surface_.get(), NULL, 0, false, 1).Pass();
|
| + shared_bitmap_manager_.reset(new TestSharedBitmapManager());
|
| + resource_provider_ =
|
| + ResourceProvider::Create(
|
| + output_surface_.get(), shared_bitmap_manager_.get(), 0, false, 1)
|
| + .Pass();
|
|
|
| switch (GetParam()) {
|
| case RASTER_WORKER_POOL_TYPE_PIXEL_BUFFER:
|
| @@ -266,6 +270,7 @@ class RasterWorkerPoolTest
|
| scoped_refptr<TestContextProvider> context_provider_;
|
| FakeOutputSurfaceClient output_surface_client_;
|
| scoped_ptr<FakeOutputSurface> output_surface_;
|
| + scoped_ptr<SharedBitmapManager> shared_bitmap_manager_;
|
| scoped_ptr<ResourceProvider> resource_provider_;
|
| scoped_ptr<RasterWorkerPool> raster_worker_pool_;
|
| base::CancelableClosure timeout_;
|
|
|