Index: mojo/public/cpp/bindings/associated_interface_ptr_info.h |
diff --git a/mojo/public/cpp/bindings/associated_interface_ptr_info.h b/mojo/public/cpp/bindings/associated_interface_ptr_info.h |
index bfb3297a0f859a4579bb9e9555fbf8c5e72e0698..3c6ca54603177f09bf913ac7a18a65e6b5dc64ac 100644 |
--- a/mojo/public/cpp/bindings/associated_interface_ptr_info.h |
+++ b/mojo/public/cpp/bindings/associated_interface_ptr_info.h |
@@ -20,6 +20,7 @@ template <typename Interface> |
class AssociatedInterfacePtrInfo { |
public: |
AssociatedInterfacePtrInfo() : version_(0u) {} |
+ AssociatedInterfacePtrInfo(std::nullptr_t) : version_(0u) {} |
AssociatedInterfacePtrInfo(AssociatedInterfacePtrInfo&& other) |
: handle_(std::move(other.handle_)), version_(other.version_) { |