| Index: cc/surfaces/surfaces_pixeltest.cc
|
| diff --git a/cc/surfaces/surfaces_pixeltest.cc b/cc/surfaces/surfaces_pixeltest.cc
|
| index bf9d4834fbcd68afaffd9bb9bbaaaafdbf066634..528684b2c85546adc35dd268fccf64b424e4861e 100644
|
| --- a/cc/surfaces/surfaces_pixeltest.cc
|
| +++ b/cc/surfaces/surfaces_pixeltest.cc
|
| @@ -86,7 +86,8 @@ TEST_F(SurfacesPixelTest, DrawSimpleFrame) {
|
|
|
| SurfaceId root_surface_id = allocator_.GenerateId();
|
| factory_.Create(root_surface_id);
|
| - factory_.SubmitFrame(root_surface_id, root_frame.Pass(), base::Closure());
|
| + factory_.SubmitFrame(root_surface_id, root_frame.Pass(),
|
| + SurfaceFactory::DrawCallback());
|
|
|
| SurfaceAggregator aggregator(&manager_, resource_provider_.get());
|
| scoped_ptr<CompositorFrame> aggregated_frame =
|
| @@ -140,7 +141,8 @@ TEST_F(SurfacesPixelTest, DrawSimpleAggregatedFrame) {
|
| scoped_ptr<CompositorFrame> root_frame(new CompositorFrame);
|
| root_frame->delegated_frame_data = delegated_frame_data.Pass();
|
|
|
| - factory_.SubmitFrame(root_surface_id, root_frame.Pass(), base::Closure());
|
| + factory_.SubmitFrame(root_surface_id, root_frame.Pass(),
|
| + SurfaceFactory::DrawCallback());
|
| }
|
|
|
| {
|
| @@ -167,7 +169,8 @@ TEST_F(SurfacesPixelTest, DrawSimpleAggregatedFrame) {
|
| scoped_ptr<CompositorFrame> child_frame(new CompositorFrame);
|
| child_frame->delegated_frame_data = delegated_frame_data.Pass();
|
|
|
| - factory_.SubmitFrame(child_surface_id, child_frame.Pass(), base::Closure());
|
| + factory_.SubmitFrame(child_surface_id, child_frame.Pass(),
|
| + SurfaceFactory::DrawCallback());
|
| }
|
|
|
| SurfaceAggregator aggregator(&manager_, resource_provider_.get());
|
| @@ -237,7 +240,8 @@ TEST_F(SurfacesPixelTest, DrawAggregatedFrameWithSurfaceTransforms) {
|
| scoped_ptr<CompositorFrame> root_frame(new CompositorFrame);
|
| root_frame->delegated_frame_data = delegated_frame_data.Pass();
|
|
|
| - factory_.SubmitFrame(root_surface_id, root_frame.Pass(), base::Closure());
|
| + factory_.SubmitFrame(root_surface_id, root_frame.Pass(),
|
| + SurfaceFactory::DrawCallback());
|
| }
|
|
|
| {
|
| @@ -272,7 +276,8 @@ TEST_F(SurfacesPixelTest, DrawAggregatedFrameWithSurfaceTransforms) {
|
| scoped_ptr<CompositorFrame> child_frame(new CompositorFrame);
|
| child_frame->delegated_frame_data = delegated_frame_data.Pass();
|
|
|
| - factory_.SubmitFrame(left_child_id, child_frame.Pass(), base::Closure());
|
| + factory_.SubmitFrame(left_child_id, child_frame.Pass(),
|
| + SurfaceFactory::DrawCallback());
|
| }
|
|
|
| {
|
| @@ -307,7 +312,8 @@ TEST_F(SurfacesPixelTest, DrawAggregatedFrameWithSurfaceTransforms) {
|
| scoped_ptr<CompositorFrame> child_frame(new CompositorFrame);
|
| child_frame->delegated_frame_data = delegated_frame_data.Pass();
|
|
|
| - factory_.SubmitFrame(right_child_id, child_frame.Pass(), base::Closure());
|
| + factory_.SubmitFrame(right_child_id, child_frame.Pass(),
|
| + SurfaceFactory::DrawCallback());
|
| }
|
|
|
| SurfaceAggregator aggregator(&manager_, resource_provider_.get());
|
|
|