Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3826)

Unified Diff: cc/output/copy_output_result.cc

Issue 2670213006: Mojom structs for copy requests / results should map to unique_ptr (Closed)
Patch Set: c Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/output/copy_output_result.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/copy_output_result.cc
diff --git a/cc/output/copy_output_result.cc b/cc/output/copy_output_result.cc
index 6d09a389f9b1d5ca68aaf1f7c33b650027ccac35..b623442af265db1ab9067343ffe7582851675227 100644
--- a/cc/output/copy_output_result.cc
+++ b/cc/output/copy_output_result.cc
@@ -26,16 +26,11 @@ 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_);
}
« no previous file with comments | « cc/output/copy_output_result.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698