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

Unified Diff: examples/spinning_cube/spinning_cube_app.cc

Issue 1916233002: Mark ApplicationImpl::ConnectTo{Application,Service}() as deprecated. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 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 | « examples/notification_generator/notification_generator.cc ('k') | examples/ui/tile/tile_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/spinning_cube/spinning_cube_app.cc
diff --git a/examples/spinning_cube/spinning_cube_app.cc b/examples/spinning_cube/spinning_cube_app.cc
index 54805d577f93f05e005bc5a08726fa13339afe8f..f5deeb9b5d0ef6362a0a62c76740c575dd46bcdb 100644
--- a/examples/spinning_cube/spinning_cube_app.cc
+++ b/examples/spinning_cube/spinning_cube_app.cc
@@ -32,7 +32,7 @@ class SpinningCubeApp : public mojo::ApplicationDelegate,
}
void Initialize(mojo::ApplicationImpl* app) override {
- app->ConnectToService("mojo:native_viewport_service", &viewport_);
+ app->ConnectToServiceDeprecated("mojo:native_viewport_service", &viewport_);
viewport_.set_connection_error_handler(
[this]() { OnViewportConnectionError(); });
« no previous file with comments | « examples/notification_generator/notification_generator.cc ('k') | examples/ui/tile/tile_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698