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

Unified Diff: cc/surfaces/surface_factory.h

Issue 2098953003: Make cc::CompositorFrames movable [Part 2 of 2] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Android compiles locally 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/surfaces/surface_factory.h
diff --git a/cc/surfaces/surface_factory.h b/cc/surfaces/surface_factory.h
index 99f0aeb54d1d4344775161248604dd4f1d684ea2..e1db584ebe0f98535e7ceae659b317f86659e8a4 100644
--- a/cc/surfaces/surface_factory.h
+++ b/cc/surfaces/surface_factory.h
@@ -62,7 +62,7 @@ class CC_SURFACES_EXPORT SurfaceFactory
// The callback is called the first time this frame is used to draw, or if
// the frame is discarded.
void SubmitCompositorFrame(SurfaceId surface_id,
- std::unique_ptr<CompositorFrame> frame,
+ CompositorFrame frame,
const DrawCallback& callback);
void RequestCopyOfSurface(SurfaceId surface_id,
std::unique_ptr<CopyOutputRequest> copy_request);

Powered by Google App Engine
This is Rietveld 408576698