Index: public/platform/WebPrivatePtr.h |
diff --git a/public/platform/WebPrivatePtr.h b/public/platform/WebPrivatePtr.h |
index 5367e2b7f14166bb594e653cb5709abc395107f6..5889f28926a053c1af0e14db989342712661b884 100644 |
--- a/public/platform/WebPrivatePtr.h |
+++ b/public/platform/WebPrivatePtr.h |
@@ -233,6 +233,12 @@ public: |
T* get() const { return storage().get(); } |
+ T& operator*() const |
+ { |
+ ASSERT(m_storage); |
+ return *get(); |
+ } |
+ |
T* operator->() const |
{ |
ASSERT(m_storage); |