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

Unified Diff: examples/ui/tile/tile_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 | « examples/ui/spinning_cube/spinning_cube_view.cc ('k') | examples/ui/tile/tile_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/ui/tile/tile_app.cc
diff --git a/examples/ui/tile/tile_app.cc b/examples/ui/tile/tile_app.cc
index 31a721e03cf73ab70b24cf20ec0985bafaf6ca2a..2b39309936ba5c35b5729ce35c75a8c54f4e2fb8 100644
--- a/examples/ui/tile/tile_app.cc
+++ b/examples/ui/tile/tile_app.cc
@@ -5,6 +5,7 @@
#include "base/strings/string_split.h"
#include "examples/ui/tile/tile_app.h"
#include "examples/ui/tile/tile_view.h"
+#include "mojo/public/cpp/application/connect.h"
#include "url/url_parse.h"
namespace examples {
@@ -24,7 +25,8 @@ void TileApp::CreateView(
return;
}
- new TileView(app_impl(), view_owner_request.Pass(), params);
+ new TileView(mojo::CreateApplicationConnector(app_impl()->shell()),
+ view_owner_request.Pass(), params);
}
bool TileApp::ParseParams(const std::string& connection_url,
« no previous file with comments | « examples/ui/spinning_cube/spinning_cube_view.cc ('k') | examples/ui/tile/tile_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698