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

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 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
« no previous file with comments | « components/view_manager/view_tree_impl.cc ('k') | mandoline/tab/frame_connection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 0ee56d8cfd7cf8a6acbb5fae9840ab321e10759f..0b539d22fb06f57ad8d1af098c8b987024d2e4fe 100644
--- a/components/view_manager/view_tree_unittest.cc
+++ b/components/view_manager/view_tree_unittest.cc
@@ -296,7 +296,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>()));
ViewTreeHostImpl* host = new ViewTreeHostImpl(
mojo::ViewTreeHostClientPtr(),
connection_manager_.get(), true /* is_headless */, nullptr,
« no previous file with comments | « components/view_manager/view_tree_impl.cc ('k') | mandoline/tab/frame_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698