| 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 bd77ead04285c2173f1b69b574af76ccec8212eb..a86761106e2b00bec1712cf9d0a4e941001f9676 100644
|
| --- a/mojo/public/cpp/bindings/interface_ptr.h
|
| +++ b/mojo/public/cpp/bindings/interface_ptr.h
|
| @@ -201,7 +201,7 @@ class InterfacePtr {
|
| }
|
|
|
| // DO NOT USE. Exposed only for internal use and for testing.
|
| - internal::InterfacePtrState<Interface, true>* internal_state() {
|
| + internal::InterfacePtrState<Interface>* internal_state() {
|
| return &internal_state_;
|
| }
|
|
|
| @@ -209,7 +209,7 @@ class InterfacePtr {
|
| // implicitly convertible to a real bool (which is dangerous).
|
| private:
|
| // TODO(dcheng): Use an explicit conversion operator.
|
| - typedef internal::InterfacePtrState<Interface, true> InterfacePtr::*Testable;
|
| + typedef internal::InterfacePtrState<Interface> InterfacePtr::*Testable;
|
|
|
| public:
|
| operator Testable() const {
|
| @@ -225,7 +225,7 @@ class InterfacePtr {
|
| template <typename T>
|
| bool operator!=(const InterfacePtr<T>& other) const = delete;
|
|
|
| - typedef internal::InterfacePtrState<Interface, true> State;
|
| + typedef internal::InterfacePtrState<Interface> State;
|
| mutable State internal_state_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(InterfacePtr);
|
|
|