Chromium Code Reviews| Index: base/mac/scoped_mach_port.h |
| diff --git a/base/mac/scoped_mach_port.h b/base/mac/scoped_mach_port.h |
| index d2aa2f746f781e904b73b3aee8e2821d1d917c68..cc2ef20fe761ec89a4c6a3fc6ab231aea3c09e84 100644 |
| --- a/base/mac/scoped_mach_port.h |
| +++ b/base/mac/scoped_mach_port.h |
| @@ -22,6 +22,8 @@ class BASE_EXPORT ScopedMachPort { |
| ~ScopedMachPort(); |
| + void reset(mach_port_t port = MACH_PORT_NULL); |
| + |
| operator mach_port_t() const { |
| return port_; |
| } |