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

Unified Diff: services/native_viewport/platform_viewport_android.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
Index: services/native_viewport/platform_viewport_android.cc
diff --git a/services/native_viewport/platform_viewport_android.cc b/services/native_viewport/platform_viewport_android.cc
index 2553783a01bfd0b0e90f389fc9cc3d859f93ae5c..ed34c8bff8912d906676b0b266d2c9425c7a52cc 100644
--- a/services/native_viewport/platform_viewport_android.cc
+++ b/services/native_viewport/platform_viewport_android.cc
@@ -166,8 +166,8 @@ void PlatformViewportAndroid::Init(const gfx::Rect& bounds) {
Java_PlatformViewportAndroid_createRequest(env,
reinterpret_cast<intptr_t>(this));
- application_->ConnectToService("mojo:native_viewport_support",
- &support_service_);
+ application_->ConnectToServiceDeprecated("mojo:native_viewport_support",
+ &support_service_);
support_service_->CreateNewNativeWindow(
base::Bind(&PlatformViewportAndroid::Close, weak_factory_.GetWeakPtr()));
}
« no previous file with comments | « services/native_support/process_test_base.cc ('k') | services/notifications/apptests/notifications_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698