Index: Source/wtf/OwnPtr.h |
diff --git a/Source/wtf/OwnPtr.h b/Source/wtf/OwnPtr.h |
index 43914c18eb479d1435db4bf3f516b969ea0295f0..1f687a975730f1a1f5da239719359900af9857ac 100644 |
--- a/Source/wtf/OwnPtr.h |
+++ b/Source/wtf/OwnPtr.h |
@@ -56,6 +56,7 @@ namespace WTF { |
} |
PtrType get() const { return m_ptr; } |
+ ValueType& getReference() const { ASSERT(m_ptr); return *m_ptr; }; |
Julien - ping for review
2015/03/16 15:27:54
Note that this is basically operator* so it seems
Sunil Ratnu
2015/03/17 11:31:19
Done. Now using operator* itself instead of the ne
|
void clear(); |
PassOwnPtr<T> release(); |