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

Unified Diff: cc/surfaces/compositor_frame_sink_support_unittest.cc

Issue 2683583005: Move display_ From CompositorFrameSinkSupport To GpuDisplayCompositorFrameSink (Closed)
Patch Set: rebase 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 67d08fa33b494c49b6d408eef9ef758c80e74c90..a8abca0a3eecfad4243d0d889e8b974ff1c5d3b9 100644
--- a/cc/surfaces/compositor_frame_sink_support_unittest.cc
+++ b/cc/surfaces/compositor_frame_sink_support_unittest.cc
@@ -9,6 +9,7 @@
#include "cc/surfaces/compositor_frame_sink_support_client.h"
#include "cc/surfaces/frame_sink_id.h"
#include "cc/surfaces/surface_id.h"
+#include "cc/surfaces/surface_manager.h"
#include "cc/test/begin_frame_args_test.h"
#include "cc/test/fake_external_begin_frame_source.h"
#include "testing/gmock/include/gmock/gmock.h"
@@ -97,14 +98,14 @@ 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, nullptr /* display */,
- nullptr /* display_begin_frame_source */));
+ this, &surface_manager_, kParentFrameSink,
+ false /* submits_to_display_compositor */));
supports_.push_back(base::MakeUnique<CompositorFrameSinkSupport>(
- this, &surface_manager_, kChildFrameSink1, nullptr /* display */,
- nullptr /* display_begin_frame_source */));
+ this, &surface_manager_, kChildFrameSink1,
+ false /* submits_to_display_compositor */));
supports_.push_back(base::MakeUnique<CompositorFrameSinkSupport>(
- this, &surface_manager_, kChildFrameSink2, nullptr /* display */,
- nullptr /* display_begin_frame_source */));
+ this, &surface_manager_, kChildFrameSink2,
+ false /* submits_to_display_compositor */));
}
void TearDown() override {
« no previous file with comments | « cc/surfaces/compositor_frame_sink_support.cc ('k') | components/display_compositor/gpu_compositor_frame_sink.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698