Index: mojo/public/cpp/system/handle.h |
diff --git a/mojo/public/cpp/system/handle.h b/mojo/public/cpp/system/handle.h |
index f83a9226f1891e2904341f54d01c75d32bfb8678..824c347cc3df2bd4088ebb55b9be01d647f4ca98 100644 |
--- a/mojo/public/cpp/system/handle.h |
+++ b/mojo/public/cpp/system/handle.h |
@@ -96,6 +96,7 @@ class ScopedHandleBase { |
} |
const HandleType& get() const { return handle_; } |
+ const HandleType* operator->() const { return &handle_; } |
template <typename PassedHandleType> |
static ScopedHandleBase<HandleType> From( |