| Index: cc/surfaces/surface_aggregator.cc
|
| diff --git a/cc/surfaces/surface_aggregator.cc b/cc/surfaces/surface_aggregator.cc
|
| index 066ffc8adb902fb4f194d3c9fae5ae64c64d6a16..fc4b63551f48b2c2984c880a0d029562f013fde3 100644
|
| --- a/cc/surfaces/surface_aggregator.cc
|
| +++ b/cc/surfaces/surface_aggregator.cc
|
| @@ -780,7 +780,7 @@ std::unique_ptr<CompositorFrame> SurfaceAggregator::Aggregate(
|
| return nullptr;
|
| TRACE_EVENT0("cc", "SurfaceAggregator::Aggregate");
|
|
|
| - std::unique_ptr<CompositorFrame> frame(new CompositorFrame);
|
| + std::unique_ptr<CompositorFrame> frame(CompositorFrame::Create());
|
| frame->delegated_frame_data = base::WrapUnique(new DelegatedFrameData);
|
|
|
| DCHECK(root_surface_frame->delegated_frame_data);
|
|
|