| Index: cc/resources/raster_worker_pool_perftest.cc
|
| diff --git a/cc/resources/raster_worker_pool_perftest.cc b/cc/resources/raster_worker_pool_perftest.cc
|
| index 851f1f6fbbdb1906e5dea736231ac7a392359a90..09b1f0c88a2b37bc9726916a5b65517b4514193f 100644
|
| --- a/cc/resources/raster_worker_pool_perftest.cc
|
| +++ b/cc/resources/raster_worker_pool_perftest.cc
|
| @@ -15,6 +15,7 @@
|
| #include "cc/test/fake_output_surface_client.h"
|
| #include "cc/test/lap_timer.h"
|
| #include "cc/test/test_context_support.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"
|
| #include "testing/perf/perf_test.h"
|
| @@ -169,8 +170,11 @@ class RasterWorkerPoolPerfTestBase {
|
| 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();
|
| }
|
| virtual ~RasterWorkerPoolPerfTestBase() { resource_provider_.reset(); }
|
|
|
| @@ -212,6 +216,7 @@ class RasterWorkerPoolPerfTestBase {
|
| scoped_refptr<ContextProvider> context_provider_;
|
| FakeOutputSurfaceClient output_surface_client_;
|
| scoped_ptr<FakeOutputSurface> output_surface_;
|
| + scoped_ptr<SharedBitmapManager> shared_bitmap_manager_;
|
| scoped_ptr<ResourceProvider> resource_provider_;
|
| LapTimer timer_;
|
| };
|
|
|