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

Unified Diff: examples/native_run_app/native_run_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/media_test/media_test.cc ('k') | examples/notification_generator/notification_generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/native_run_app/native_run_app.cc
diff --git a/examples/native_run_app/native_run_app.cc b/examples/native_run_app/native_run_app.cc
index 2cb92be050a149a9f9f7d7c651cdfa583588668b..c3cda1ba6b0c5db3ccc3df841f151c3c8fa31f65 100644
--- a/examples/native_run_app/native_run_app.cc
+++ b/examples/native_run_app/native_run_app.cc
@@ -231,8 +231,8 @@ class NativeRunApp : public mojo::ApplicationDelegate,
void Initialize(mojo::ApplicationImpl* application_impl) override {
DCHECK(!application_impl_);
application_impl_ = application_impl;
- application_impl_->ConnectToService("mojo:native_support",
- &native_support_process_);
+ application_impl_->ConnectToServiceDeprecated("mojo:native_support",
+ &native_support_process_);
}
bool ConfigureIncomingConnection(
« no previous file with comments | « examples/media_test/media_test.cc ('k') | examples/notification_generator/notification_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698