Index: mojo/public/cpp/bindings/interface_ptr.h |
diff --git a/mojo/public/cpp/bindings/interface_ptr.h b/mojo/public/cpp/bindings/interface_ptr.h |
index e88be7436fb4c86b00a368bd4073b122d01272d9..a56b9dd0787afa1faf2fbaab7c303acef99b7dcf 100644 |
--- a/mojo/public/cpp/bindings/interface_ptr.h |
+++ b/mojo/public/cpp/bindings/interface_ptr.h |
@@ -193,6 +193,10 @@ class InterfacePtr { |
return !(*this) && !other; |
} |
+ void EnableNestedDispatch(bool enabled) { |
+ internal_state_.EnableNestedDispatch(enabled); |
+ } |
+ |
// DO NOT USE. Exposed only for internal use and for testing. |
internal::InterfacePtrState<Interface>* internal_state() { |
return &internal_state_; |