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

Unified Diff: ui/compositor/test/in_process_context_factory.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: ui/compositor/test/in_process_context_factory.cc
diff --git a/ui/compositor/test/in_process_context_factory.cc b/ui/compositor/test/in_process_context_factory.cc
index cc4bc2921238191e7cd9b4dad66caa54c22968f2..f97e129e6df96d4f2a76ea735550e1839403704d 100644
--- a/ui/compositor/test/in_process_context_factory.cc
+++ b/ui/compositor/test/in_process_context_factory.cc
@@ -65,7 +65,7 @@ class DirectOutputSurface : public cc::OutputSurface {
return false;
return true;
}
- void SwapBuffers(cc::CompositorFrame* frame) override {
+ void SwapBuffers(std::unique_ptr<cc::CompositorFrame> frame) override {
DCHECK(context_provider_.get());
DCHECK(frame->gl_frame_data);
if (frame->gl_frame_data->sub_buffer_rect ==

Powered by Google App Engine
This is Rietveld 408576698