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

Unified Diff: mojo/public/cpp/bindings/lib/interface_ptr_state.h

Issue 2492463005: Mojo C++ bindings: reduce references to AssociatedGroupController. (Closed)
Patch Set: . Created 4 years, 1 month 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 | « mojo/public/cpp/bindings/lib/binding_state.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/bindings/lib/interface_ptr_state.h
diff --git a/mojo/public/cpp/bindings/lib/interface_ptr_state.h b/mojo/public/cpp/bindings/lib/interface_ptr_state.h
index 78aa02e17635442ae394a7aa9d0109650fbbab1e..83379521c6cb103d471efcd73c9ea9ccb8d437ea 100644
--- a/mojo/public/cpp/bindings/lib/interface_ptr_state.h
+++ b/mojo/public/cpp/bindings/lib/interface_ptr_state.h
@@ -361,8 +361,10 @@ class InterfacePtrState<Interface, true> {
// will not be used.
0u));
proxy_.reset(new Proxy(endpoint_client_.get()));
- proxy_->serialization_context()->group_controller =
- endpoint_client_->group_controller();
+ if (Interface::PassesAssociatedKinds_) {
+ proxy_->serialization_context()->group_controller =
+ endpoint_client_->group_controller();
+ }
}
void OnQueryVersion(const base::Callback<void(uint32_t)>& callback,
« no previous file with comments | « mojo/public/cpp/bindings/lib/binding_state.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698