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

Unified Diff: content/test/mailbox_output_surface.cc

Issue 2096493002: Make cc::CompositorFrames movable [Part 1 of 2] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix reflector 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/test/mailbox_output_surface.cc
diff --git a/content/test/mailbox_output_surface.cc b/content/test/mailbox_output_surface.cc
index 4f4dd0d03a51642f9836e588c6465d944bfa924a..7a585eb978195e18eb909522601d326cf2267976 100644
--- a/content/test/mailbox_output_surface.cc
+++ b/content/test/mailbox_output_surface.cc
@@ -218,7 +218,8 @@ void MailboxOutputSurface::ShortcutSwapAck(
previous_frame_ack_->gl_frame_data = std::move(gl_frame_data);
}
-void MailboxOutputSurface::SwapBuffers(cc::CompositorFrame* frame) {
+void MailboxOutputSurface::SwapBuffers(
+ std::unique_ptr<cc::CompositorFrame> frame) {
// This class is here to support layout tests that are currently
// doing a readback in the renderer instead of the browser. So they
// are using deprecated code paths in the renderer and don't need to

Powered by Google App Engine
This is Rietveld 408576698