| Index: cc/surfaces/surface_aggregator_perftest.cc
|
| diff --git a/cc/surfaces/surface_aggregator_perftest.cc b/cc/surfaces/surface_aggregator_perftest.cc
|
| index 9c24baed33d2c83cf3046724aea1a27c4449b047..97b8eeb9fc7abad90a16d603151a30e259c6d8a2 100644
|
| --- a/cc/surfaces/surface_aggregator_perftest.cc
|
| +++ b/cc/surfaces/surface_aggregator_perftest.cc
|
| @@ -90,7 +90,7 @@ class SurfaceAggregatorPerfTest : public testing::Test {
|
| }
|
|
|
| frame_data->render_pass_list.push_back(std::move(pass));
|
| - std::unique_ptr<CompositorFrame> frame(new CompositorFrame);
|
| + std::unique_ptr<CompositorFrame> frame(CompositorFrame::Create());
|
| frame->delegated_frame_data = std::move(frame_data);
|
| factory_.SubmitCompositorFrame(SurfaceId(0, i, 0), std::move(frame),
|
| SurfaceFactory::DrawCallback());
|
| @@ -115,7 +115,7 @@ class SurfaceAggregatorPerfTest : public testing::Test {
|
| pass->damage_rect = gfx::Rect(0, 0, 1, 1);
|
|
|
| frame_data->render_pass_list.push_back(std::move(pass));
|
| - std::unique_ptr<CompositorFrame> frame(new CompositorFrame);
|
| + std::unique_ptr<CompositorFrame> frame(CompositorFrame::Create());
|
| frame->delegated_frame_data = std::move(frame_data);
|
| factory_.SubmitCompositorFrame(SurfaceId(0, num_surfaces + 1, 0),
|
| std::move(frame),
|
|
|