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

Unified Diff: examples/shadows/shadows_view.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/shadows/shadows_view.h ('k') | examples/ui/jank/jank.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/shadows/shadows_view.cc
diff --git a/examples/shadows/shadows_view.cc b/examples/shadows/shadows_view.cc
index 86a3f7580c99325a4f25304b9dde1953f081751d..a3d5a1a3a5916f71c58043ddd67ef736454550af 100644
--- a/examples/shadows/shadows_view.cc
+++ b/examples/shadows/shadows_view.cc
@@ -19,9 +19,9 @@ constexpr uint32_t kRootNodeId = mojo::gfx::composition::kSceneRootNodeId;
} // namespace
ShadowsView::ShadowsView(
- mojo::ApplicationImpl* app_impl,
+ mojo::InterfaceHandle<mojo::ApplicationConnector> app_connector,
mojo::InterfaceRequest<mojo::ui::ViewOwner> view_owner_request)
- : GLView(app_impl, view_owner_request.Pass(), "Shadows"),
+ : GLView(app_connector.Pass(), view_owner_request.Pass(), "Shadows"),
choreographer_(scene(), this) {
mojo::GLContext::Scope gl_scope(gl_context());
renderer_.reset(new ShadowsRenderer());
« no previous file with comments | « examples/shadows/shadows_view.h ('k') | examples/ui/jank/jank.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698