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

Unified Diff: cc/output/compositor_frame_metadata.cc

Issue 2096493002: Make cc::CompositorFrames movable [Part 1 of 2] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make CompositorFrameMetadata movable Created 4 years, 6 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
Index: cc/output/compositor_frame_metadata.cc
diff --git a/cc/output/compositor_frame_metadata.cc b/cc/output/compositor_frame_metadata.cc
index d77cca006d54508a2a13274973fea426413659ca..cf37dc4f71e6fee46dbf27f23aa89df00248520e 100644
--- a/cc/output/compositor_frame_metadata.cc
+++ b/cc/output/compositor_frame_metadata.cc
@@ -16,9 +16,15 @@ CompositorFrameMetadata::CompositorFrameMetadata()
root_background_color(SK_ColorWHITE) {}
CompositorFrameMetadata::CompositorFrameMetadata(
+ CompositorFrameMetadata&& other) = default;
+
+CompositorFrameMetadata::CompositorFrameMetadata(
const CompositorFrameMetadata& other) = default;
CompositorFrameMetadata::~CompositorFrameMetadata() {
}
+CompositorFrameMetadata& CompositorFrameMetadata::operator=(
+ CompositorFrameMetadata&& other) = default;
+
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698