| Index: cc/surfaces/surface.h
|
| diff --git a/cc/surfaces/surface.h b/cc/surfaces/surface.h
|
| index 7c44be4b51c1b97909b9875419aa3df047396870..02e1fa19800f4d3513e6078a3d07389f03606daa 100644
|
| --- a/cc/surfaces/surface.h
|
| +++ b/cc/surfaces/surface.h
|
| @@ -54,8 +54,7 @@ class CC_SURFACES_EXPORT Surface {
|
| return gpu_memory_buffer_client_id_;
|
| }
|
|
|
| - void QueueFrame(std::unique_ptr<CompositorFrame> frame,
|
| - const DrawCallback& draw_callback);
|
| + void QueueFrame(CompositorFrame frame, const DrawCallback& draw_callback);
|
| void RequestCopyOfOutput(std::unique_ptr<CopyOutputRequest> copy_request);
|
| // Adds each CopyOutputRequest in the current frame to copy_requests. The
|
| // caller takes ownership of them.
|
| @@ -102,7 +101,7 @@ class CC_SURFACES_EXPORT Surface {
|
| int gpu_memory_buffer_client_id_ = -1;
|
| base::WeakPtr<SurfaceFactory> factory_;
|
| // TODO(jamesr): Support multiple frames in flight.
|
| - std::unique_ptr<CompositorFrame> current_frame_;
|
| + CompositorFrame current_frame_;
|
| int frame_index_;
|
| bool destroyed_;
|
| std::vector<SurfaceSequence> destruction_dependencies_;
|
|
|