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

Unified Diff: mojo/services/view_manager/view_manager_service_impl.cc

Issue 1092033003: Pulls display related changes from mojo to chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 | « mojo/services/view_manager/view_locator.cc ('k') | mojo/services/window_manager/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/view_manager/view_manager_service_impl.cc
diff --git a/mojo/services/view_manager/view_manager_service_impl.cc b/mojo/services/view_manager/view_manager_service_impl.cc
index 3b045b9832729c0f4f5e72cc5a226e95538632f5..2f45ae7836d0d906bd9274e491e2e25f6ce743b9 100644
--- a/mojo/services/view_manager/view_manager_service_impl.cc
+++ b/mojo/services/view_manager/view_manager_service_impl.cc
@@ -101,7 +101,7 @@ mojo::ErrorCode ViewManagerServiceImpl::CreateView(const ViewId& view_id) {
return mojo::ERROR_CODE_ILLEGAL_ARGUMENT;
if (view_map_.find(view_id.view_id) != view_map_.end())
return mojo::ERROR_CODE_VALUE_IN_USE;
- view_map_[view_id.view_id] = new ServerView(connection_manager_, view_id);
+ view_map_[view_id.view_id] = connection_manager_->CreateServerView(view_id);
known_views_.insert(ViewIdToTransportId(view_id));
return mojo::ERROR_CODE_NONE;
}
« no previous file with comments | « mojo/services/view_manager/view_locator.cc ('k') | mojo/services/window_manager/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698