| Index: third_party/WebKit/Source/wtf/WeakPtr.h
|
| diff --git a/third_party/WebKit/Source/wtf/WeakPtr.h b/third_party/WebKit/Source/wtf/WeakPtr.h
|
| index c377957c80c9397200eaf7c40a91e8131e296578..8bec53fa7e75c9be75081ecd20dad4aaa4735cc2 100644
|
| --- a/third_party/WebKit/Source/wtf/WeakPtr.h
|
| +++ b/third_party/WebKit/Source/wtf/WeakPtr.h
|
| @@ -107,8 +107,7 @@ public:
|
| return get();
|
| }
|
|
|
| - typedef RefPtr<WeakReference<T>> (WeakPtr::*UnspecifiedBoolType);
|
| - operator UnspecifiedBoolType() const { return get() ? &WeakPtr::m_ref : 0; }
|
| + explicit operator bool() const { return get(); }
|
|
|
| private:
|
| RefPtr<WeakReference<T>> m_ref;
|
|
|