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

Unified Diff: content/public/test/test_synchronous_compositor_android.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: content/public/test/test_synchronous_compositor_android.cc
diff --git a/content/public/test/test_synchronous_compositor_android.cc b/content/public/test/test_synchronous_compositor_android.cc
index 8695876faccc76fcc1f4eaa8e2b65b10ea430c8a..fd724776ea8061f8b3672cbc030b3169f3b4a501 100644
--- a/content/public/test/test_synchronous_compositor_android.cc
+++ b/content/public/test/test_synchronous_compositor_android.cc
@@ -55,9 +55,8 @@ bool TestSynchronousCompositor::DemandDrawSw(SkCanvas* canvas) {
return true;
}
-void TestSynchronousCompositor::SetHardwareFrame(
- uint32_t output_surface_id,
- std::unique_ptr<cc::CompositorFrame> frame) {
+void TestSynchronousCompositor::SetHardwareFrame(uint32_t output_surface_id,
+ cc::CompositorFrame frame) {
hardware_frame_.output_surface_id = output_surface_id;
hardware_frame_.frame = std::move(frame);
}

Powered by Google App Engine
This is Rietveld 408576698