Chromium Code Reviews| Index: cc/output/compositor_frame.cc |
| diff --git a/cc/output/compositor_frame.cc b/cc/output/compositor_frame.cc |
| index f096a387b5cc82feb88cc12cd32cfcfa7e0b1d2f..b0430a06f7a0c4b70879a803cae3d8953fafedc5 100644 |
| --- a/cc/output/compositor_frame.cc |
| +++ b/cc/output/compositor_frame.cc |
| @@ -4,16 +4,16 @@ |
| #include "cc/output/compositor_frame.h" |
| +#include "base/memory/ptr_util.h" |
|
danakj
2016/06/24 18:35:10
not used
Fady Samuel
2016/06/24 20:00:24
Done.
|
| + |
| namespace cc { |
| CompositorFrame::CompositorFrame() {} |
| +CompositorFrame::CompositorFrame(CompositorFrame&& other) = default; |
| + |
| CompositorFrame::~CompositorFrame() {} |
| -void CompositorFrame::AssignTo(CompositorFrame* target) { |
| - target->delegated_frame_data = std::move(delegated_frame_data); |
| - target->gl_frame_data = std::move(gl_frame_data); |
| - target->metadata = metadata; |
| -} |
| +CompositorFrame& CompositorFrame::operator=(CompositorFrame&& other) = default; |
| } // namespace cc |