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

Unified Diff: components/view_manager/view_tree_unittest.cc

Issue 1281663002: Mandoline: Allow submitting CompositorFrames directly to mojo::Views (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased + added uip::Surface Created 5 years, 4 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: components/view_manager/view_tree_unittest.cc
diff --git a/components/view_manager/view_tree_unittest.cc b/components/view_manager/view_tree_unittest.cc
index d338c15042f238783e609c1976131234757bcfd0..8877143a9e1bab4a665fecd367843e0234eabf00 100644
--- a/components/view_manager/view_tree_unittest.cc
+++ b/components/view_manager/view_tree_unittest.cc
@@ -300,7 +300,9 @@ class ViewTreeTest : public testing::Test {
void SetUp() override {
DisplayManager::set_factory_for_testing(&display_manager_factory_);
// TODO(fsamuel): This is probably broken. We need a root.
- connection_manager_.reset(new ConnectionManager(&delegate_));
+ connection_manager_.reset(
+ new ConnectionManager(&delegate_,
+ scoped_refptr<surfaces::SurfacesState>()));
ViewManagerRootImpl* root = new ViewManagerRootImpl(
connection_manager_.get(), true /* is_headless */, nullptr,
scoped_refptr<gles2::GpuState>(),

Powered by Google App Engine
This is Rietveld 408576698