| Index: third_party/WebKit/Source/wtf/PassRefPtr.h
|
| diff --git a/third_party/WebKit/Source/wtf/PassRefPtr.h b/third_party/WebKit/Source/wtf/PassRefPtr.h
|
| index 8926a126364d9acb9c916516130e61f549d376bb..2b9c355d54829c45549fd344c512851ead7167d5 100644
|
| --- a/third_party/WebKit/Source/wtf/PassRefPtr.h
|
| +++ b/third_party/WebKit/Source/wtf/PassRefPtr.h
|
| @@ -202,11 +202,6 @@ template <typename T> PassRefPtr<T> adoptRef(T* p)
|
| return PassRefPtr<T>(p, PassRefPtr<T>::AdoptRef);
|
| }
|
|
|
| -template <typename T, typename U> inline PassRefPtr<T> static_pointer_cast(const PassRefPtr<U>& p)
|
| -{
|
| - return adoptRef(static_cast<T*>(p.leakRef()));
|
| -}
|
| -
|
| template <typename T> inline T* getPtr(const PassRefPtr<T>& p)
|
| {
|
| return p.get();
|
| @@ -216,6 +211,5 @@ template <typename T> inline T* getPtr(const PassRefPtr<T>& p)
|
|
|
| using WTF::PassRefPtr;
|
| using WTF::adoptRef;
|
| -using WTF::static_pointer_cast;
|
|
|
| #endif // WTF_PassRefPtr_h
|
|
|