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

Unified Diff: cc/test/test_compositor_frame_sink.h

Issue 2565783002: Moves ownership of the cc::Display's BeginFrameSource out of Display. (Closed)
Patch Set: rebase. Created 4 years 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
« no previous file with comments | « cc/surfaces/display_unittest.cc ('k') | cc/test/test_compositor_frame_sink.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/test_compositor_frame_sink.h
diff --git a/cc/test/test_compositor_frame_sink.h b/cc/test/test_compositor_frame_sink.h
index d35efed7355906472b3832a34a2cd124da1f265d..52b4aeca1125b315eaef00aa2674cb62b45a09aa 100644
--- a/cc/test/test_compositor_frame_sink.h
+++ b/cc/test/test_compositor_frame_sink.h
@@ -105,7 +105,9 @@ class TestCompositorFrameSink : public CompositorFrameSink,
// Uses surface_manager_.
std::unique_ptr<SurfaceFactory> surface_factory_;
- // Uses surface_manager_.
+ std::unique_ptr<SyntheticBeginFrameSource> begin_frame_source_;
+
+ // Uses surface_manager_ and begin_frame_source_.
std::unique_ptr<Display> display_;
bool bound_ = false;
« no previous file with comments | « cc/surfaces/display_unittest.cc ('k') | cc/test/test_compositor_frame_sink.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698