Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / wtf / WeakPtr.h
index b9b0143..d8785ce 100644 (file)
@@ -88,6 +88,7 @@ public:
     WeakPtr(PassRefPtr<WeakReference<T> > ref) : m_ref(ref) { }
 
     T* get() const { return m_ref ? m_ref->get() : 0; }
+    void clear() { m_ref.clear(); }
 
     T* operator->() const
     {