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

Unified Diff: cc/surfaces/compositor_frame_sink_support_unittest.cc

Issue 2696743002: Prepare CompositorFrameSinkSupport To Be Used By DirectCompositorFrameSink (Closed)
Patch Set: Rename submits_to_display_compositor_ to is_root_ Created 3 years, 10 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/compositor_frame_sink_support_unittest.cc
diff --git a/cc/surfaces/compositor_frame_sink_support_unittest.cc b/cc/surfaces/compositor_frame_sink_support_unittest.cc
index acd242a5f4338d98ed272ca2530f9dfb93eeddd8..e9b4f562a1a5244ab630c985cfbea71bb65abae4 100644
--- a/cc/surfaces/compositor_frame_sink_support_unittest.cc
+++ b/cc/surfaces/compositor_frame_sink_support_unittest.cc
@@ -136,14 +136,17 @@ class CompositorFrameSinkSupportTest : public testing::Test,
begin_frame_source_.get()));
surface_manager_.SetDependencyTracker(std::move(dependency_tracker));
supports_.push_back(base::MakeUnique<CompositorFrameSinkSupport>(
- this, &surface_manager_, kParentFrameSink,
- false /* submits_to_display_compositor */));
+ this, &surface_manager_, kParentFrameSink, false /* is_root */,
+ true /* handles_frame_sink_id_invalidation */,
+ true /* needs_sync_points */));
supports_.push_back(base::MakeUnique<CompositorFrameSinkSupport>(
- this, &surface_manager_, kChildFrameSink1,
- false /* submits_to_display_compositor */));
+ this, &surface_manager_, kChildFrameSink1, false /* is_root */,
+ true /* handles_frame_sink_id_invalidation */,
+ true /* needs_sync_points */));
supports_.push_back(base::MakeUnique<CompositorFrameSinkSupport>(
- this, &surface_manager_, kChildFrameSink2,
- false /* submits_to_display_compositor */));
+ this, &surface_manager_, kChildFrameSink2, false /* is_root */,
+ true /* handles_frame_sink_id_invalidation */,
+ true /* needs_sync_points */));
}
void TearDown() override {
« no previous file with comments | « cc/surfaces/compositor_frame_sink_support.cc ('k') | components/display_compositor/gpu_display_compositor_frame_sink.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698