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

Unified Diff: mojo/services/log/cpp/lib/log_client.cc

Issue 1677753002: Mojo C++ bindings: InterfacePtr::PassInterface -> PassInterfaceHandle (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 10 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: mojo/services/log/cpp/lib/log_client.cc
diff --git a/mojo/services/log/cpp/lib/log_client.cc b/mojo/services/log/cpp/lib/log_client.cc
index edbf64cad0dfeffa7cc904fda7001a4b04ec0a0b..038ee4390f8c1a3c6c07e7df9faf915dcb2853d3 100644
--- a/mojo/services/log/cpp/lib/log_client.cc
+++ b/mojo/services/log/cpp/lib/log_client.cc
@@ -55,7 +55,8 @@ class LogClient {
};
LogClient::LogClient(log::LogPtr log, const MojoLogger* fallback_logger)
- : log_interface_(log.PassInterface()), fallback_logger_(fallback_logger) {
+ : log_interface_(log.PassInterfaceHandle()),
+ fallback_logger_(fallback_logger) {
assert(log_interface_.is_valid());
assert(fallback_logger_);
}
« no previous file with comments | « mojo/public/cpp/bindings/lib/interface_ptr_internal.h ('k') | services/dart/content_handler_app_service_connector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698