Chromium Code Reviews| Index: Source/wtf/WeakPtr.h |
| diff --git a/Source/wtf/WeakPtr.h b/Source/wtf/WeakPtr.h |
| index d8785ce926994a3eb3f294b92373e356e6936a18..f81e122cebcf4e88f935756a62bde026819a7768 100644 |
| --- a/Source/wtf/WeakPtr.h |
| +++ b/Source/wtf/WeakPtr.h |
| @@ -85,6 +85,7 @@ class WeakPtr { |
| WTF_MAKE_FAST_ALLOCATED; |
| public: |
| WeakPtr() { } |
| + WeakPtr(std::nullptr_t) { } |
| WeakPtr(PassRefPtr<WeakReference<T> > ref) : m_ref(ref) { } |
| T* get() const { return m_ref ? m_ref->get() : 0; } |