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

Unified Diff: components/mus/surfaces/display_compositor.h

Issue 2098953003: Make cc::CompositorFrames movable [Part 2 of 2] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed exo unittests 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: components/mus/surfaces/display_compositor.h
diff --git a/components/mus/surfaces/display_compositor.h b/components/mus/surfaces/display_compositor.h
index efbf99236fff5bcd1f7fd297cbfd94474d1996ca..27d1eebf3cfd285519d6be250394878291016224 100644
--- a/components/mus/surfaces/display_compositor.h
+++ b/components/mus/surfaces/display_compositor.h
@@ -39,7 +39,7 @@ class DisplayCompositor : public cc::SurfaceFactoryClient,
// a CompositorFrame once per BeginFrame tick. The callback is called the
// first time this frame is used to draw, or if the frame is discarded.
void SubmitCompositorFrame(
- std::unique_ptr<cc::CompositorFrame> frame,
+ cc::CompositorFrame frame,
const base::Callback<void(cc::SurfaceDrawStatus)>& callback);
// TODO(fsamuel): This is used for surface hittesting and should not be
« no previous file with comments | « components/mus/gpu/display_compositor/compositor_frame_sink_impl.cc ('k') | components/mus/surfaces/display_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698