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

Unified Diff: services/view_manager/display_manager.cc

Issue 1168993002: Update the native_viewport interface to allow specification of the surface configuration, currently… (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Final cleanups Created 5 years, 6 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 | « services/native_viewport/onscreen_context_provider.cc ('k') | sky/shell/gpu/rasterizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/view_manager/display_manager.cc
diff --git a/services/view_manager/display_manager.cc b/services/view_manager/display_manager.cc
index 7536b7073ade301056c49f1da60bef85f3028d12..0ecd0672446fc396a5f609ff41224b92e55fae3b 100644
--- a/services/view_manager/display_manager.cc
+++ b/services/view_manager/display_manager.cc
@@ -93,6 +93,7 @@ void DefaultDisplayManager::Init(ConnectionManager* connection_manager) {
&native_viewport_);
native_viewport_.set_error_handler(this);
native_viewport_->Create(metrics_.size->Clone(),
+ mojo::SurfaceConfiguration::New(),
base::Bind(&DefaultDisplayManager::OnMetricsChanged,
weak_factory_.GetWeakPtr()));
native_viewport_->Show();
« no previous file with comments | « services/native_viewport/onscreen_context_provider.cc ('k') | sky/shell/gpu/rasterizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698