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

Unified Diff: examples/audio_play_test/play_tone.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/apptest/example_apptest.cc ('k') | examples/audio_play_test/play_wav.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/audio_play_test/play_tone.cc
diff --git a/examples/audio_play_test/play_tone.cc b/examples/audio_play_test/play_tone.cc
index ff12890d435569d94964e12ef7b83094e33c973c..f091fae48172da548fc6328e8cdae5d882e3cb5b 100644
--- a/examples/audio_play_test/play_tone.cc
+++ b/examples/audio_play_test/play_tone.cc
@@ -70,7 +70,7 @@ void PlayToneApp::Quit() {
}
void PlayToneApp::Initialize(ApplicationImpl* app) {
- app->ConnectToService("mojo:audio_server", &audio_server_);
+ app->ConnectToServiceDeprecated("mojo:audio_server", &audio_server_);
audio_server_.set_connection_error_handler([this]() {
OnConnectionError("audio_server");
});
« no previous file with comments | « examples/apptest/example_apptest.cc ('k') | examples/audio_play_test/play_wav.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698