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

Unified Diff: mojo/public/cpp/bindings/associated_interface_ptr.h

Issue 1991463002: Mojo: Expose untyped associated endpoints through public API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/public/cpp/bindings/associated_interface_ptr.h
diff --git a/mojo/public/cpp/bindings/associated_interface_ptr.h b/mojo/public/cpp/bindings/associated_interface_ptr.h
index e98d9e9232137dcd7f44a10037134137b88c3fb5..c4435ee599b73c1e47eb2d9d86f4c656080fb967 100644
--- a/mojo/public/cpp/bindings/associated_interface_ptr.h
+++ b/mojo/public/cpp/bindings/associated_interface_ptr.h
@@ -68,8 +68,7 @@ class AssociatedInterfacePtr {
base::ThreadTaskRunnerHandle::Get()) {
reset();
- bool is_local =
- internal::AssociatedInterfacePtrInfoHelper::GetHandle(&info).is_local();
+ bool is_local = info.handle().is_local();
DCHECK(is_local) << "The AssociatedInterfacePtrInfo is supposed to be used "
"at the other side of the message pipe.";
« no previous file with comments | « mojo/public/cpp/bindings/associated_group.h ('k') | mojo/public/cpp/bindings/associated_interface_ptr_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698