| Index: cc/output/copy_output_result.cc
|
| diff --git a/cc/output/copy_output_result.cc b/cc/output/copy_output_result.cc
|
| index 3a349f27fb8d3aeffb17726f9a7ad46035b2c4d8..6d09a389f9b1d5ca68aaf1f7c33b650027ccac35 100644
|
| --- a/cc/output/copy_output_result.cc
|
| +++ b/cc/output/copy_output_result.cc
|
| @@ -6,7 +6,6 @@
|
|
|
| #include "base/logging.h"
|
| #include "cc/resources/texture_mailbox.h"
|
| -#include "third_party/skia/include/core/SkBitmap.h"
|
|
|
| namespace cc {
|
|
|
| @@ -27,11 +26,16 @@ CopyOutputResult::CopyOutputResult(
|
| DCHECK(texture_mailbox_.IsTexture());
|
| }
|
|
|
| +CopyOutputResult::CopyOutputResult(CopyOutputResult&& other) = default;
|
| +
|
| CopyOutputResult::~CopyOutputResult() {
|
| if (release_callback_)
|
| release_callback_->Run(gpu::SyncToken(), false);
|
| }
|
|
|
| +CopyOutputResult& CopyOutputResult::operator=(CopyOutputResult&& other) =
|
| + default;
|
| +
|
| std::unique_ptr<SkBitmap> CopyOutputResult::TakeBitmap() {
|
| return std::move(bitmap_);
|
| }
|
|
|