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_manager_root_impl.cc

Issue 1245683004: Mandoline: Merge Surfaces and Views apps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove context_provider.mojom 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_manager_root_impl.cc
diff --git a/components/view_manager/view_manager_root_impl.cc b/components/view_manager/view_manager_root_impl.cc
index 00dc13374554cfbbd0d2f7a105a90214dc545eb4..10cc3aa5b6de078c88222b4e19a755fb2efb351d 100644
--- a/components/view_manager/view_manager_root_impl.cc
+++ b/components/view_manager/view_manager_root_impl.cc
@@ -16,11 +16,15 @@ ViewManagerRootImpl::ViewManagerRootImpl(
ConnectionManager* connection_manager,
bool is_headless,
mojo::ApplicationImpl* app_impl,
- const scoped_refptr<gles2::GpuState>& gpu_state)
+ const scoped_refptr<gles2::GpuState>& gpu_state,
+ const scoped_refptr<surfaces::SurfacesState>& surfaces_state)
: delegate_(nullptr),
connection_manager_(connection_manager),
display_manager_(
- DisplayManager::Create(is_headless, app_impl, gpu_state)) {
+ DisplayManager::Create(is_headless,
+ app_impl,
+ gpu_state,
+ surfaces_state)) {
display_manager_->Init(this);
}

Powered by Google App Engine
This is Rietveld 408576698