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

Unified Diff: apps/moterm/moterm_app.cc

Issue 1991853003: Make BaseView et al. take an ApplicationConnector instead of an ApplicationImpl. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: doh Created 4 years, 7 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 | « no previous file | apps/moterm/moterm_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/moterm/moterm_app.cc
diff --git a/apps/moterm/moterm_app.cc b/apps/moterm/moterm_app.cc
index ab8abfa60a7f640430eb5ee5009d955ecf644aad..3eabe882e0ab4d15b3e0a37d6d8f5cc91028c40f 100644
--- a/apps/moterm/moterm_app.cc
+++ b/apps/moterm/moterm_app.cc
@@ -5,6 +5,7 @@
#include "apps/moterm/moterm_app.h"
#include "apps/moterm/moterm_view.h"
+#include "mojo/public/cpp/application/connect.h"
MotermApp::MotermApp() {}
@@ -15,5 +16,6 @@ void MotermApp::CreateView(
mojo::InterfaceRequest<mojo::ui::ViewOwner> view_owner_request,
mojo::InterfaceRequest<mojo::ServiceProvider> services,
mojo::InterfaceHandle<mojo::ServiceProvider> exposed_services) {
- new MotermView(app_impl(), view_owner_request.Pass(), services.Pass());
+ new MotermView(mojo::CreateApplicationConnector(app_impl()->shell()),
+ view_owner_request.Pass(), services.Pass());
}
« no previous file with comments | « no previous file | apps/moterm/moterm_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698