| Index: third_party/WebKit/Source/platform/CrossThreadCopier.h
|
| diff --git a/third_party/WebKit/Source/platform/CrossThreadCopier.h b/third_party/WebKit/Source/platform/CrossThreadCopier.h
|
| index de30baa00edcbd544efed937b4cce778f137a8a7..46448693ad2aed06db012efa407e1558948ea286 100644
|
| --- a/third_party/WebKit/Source/platform/CrossThreadCopier.h
|
| +++ b/third_party/WebKit/Source/platform/CrossThreadCopier.h
|
| @@ -158,16 +158,6 @@ struct CrossThreadCopier<PassOwnPtr<T>> {
|
| };
|
|
|
| template <typename T>
|
| -struct CrossThreadCopier<WeakMember<T>*> {
|
| - STATIC_ONLY(CrossThreadCopier);
|
| - typedef WeakMember<T>* Type;
|
| - static Type copy(Type ptr)
|
| - {
|
| - return ptr;
|
| - }
|
| -};
|
| -
|
| -template <typename T>
|
| struct CrossThreadCopier<WTF::PassedWrapper<T>> {
|
| STATIC_ONLY(CrossThreadCopier);
|
| using Type = WTF::PassedWrapper<typename CrossThreadCopier<T>::Type>;
|
| @@ -225,17 +215,6 @@ struct CrossThreadCopier<Member<T>> {
|
| }
|
| };
|
|
|
| -template <typename T>
|
| -struct CrossThreadCopier<WeakMember<T>> {
|
| - STATIC_ONLY(CrossThreadCopier);
|
| - static_assert(IsGarbageCollectedType<T>::value, "T must be a garbage-collected type.");
|
| - typedef T* Type;
|
| - static Type copy(const WeakMember<T>& ptr)
|
| - {
|
| - return ptr;
|
| - }
|
| -};
|
| -
|
| // |T| is |C*| or |const WeakPtr<C>&|.
|
| template <typename T>
|
| struct AllowCrossThreadAccessWrapper {
|
|
|