summaryrefslogtreecommitdiff
path: root/www-client/chromium/files/chromium-96-template-friend.patch
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2022-07-14 19:16:24 -0400
committerGravatar Chris Xiong <chirs241097@gmail.com> 2022-07-14 19:16:24 -0400
commit43609ca84694acca988dc0ae591c69ac447659b2 (patch)
treec82fdae375ed2a5948700dfb8a309de9e3238d7b /www-client/chromium/files/chromium-96-template-friend.patch
parentb3c6fc25a909d82262f12df4d55fa8ec6ac392d3 (diff)
downloadppo-43609ca84694acca988dc0ae591c69ac447659b2.tar.xz
chromium: Remove obsolete versions and patches
Diffstat (limited to 'www-client/chromium/files/chromium-96-template-friend.patch')
-rw-r--r--www-client/chromium/files/chromium-96-template-friend.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/www-client/chromium/files/chromium-96-template-friend.patch b/www-client/chromium/files/chromium-96-template-friend.patch
deleted file mode 100644
index 4b8a5e4..0000000
--- a/www-client/chromium/files/chromium-96-template-friend.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-diff --git a/base/memory/safe_ref.h b/base/memory/safe_ref.h
-index 7189f8786..162c6744f 100644
---- a/base/memory/safe_ref.h
-+++ b/base/memory/safe_ref.h
-@@ -88,9 +88,10 @@ class SafeRef {
- private:
- template <typename U>
- friend class SafeRef;
-- friend SafeRef internal::MakeSafeRefFromWeakPtrInternals(
-+ template <typename U>
-+ friend SafeRef<U> internal::MakeSafeRefFromWeakPtrInternals(
- const internal::WeakReference& ref,
-- T* ptr);
-+ U* ptr);
-
- // Construction from a from WeakPtr. Will CHECK() if the WeakPtr is already
- // invalid.
-diff --git a/base/memory/weak_ptr.h b/base/memory/weak_ptr.h
-index 17f7b8f87..d042ecff2 100644
---- a/base/memory/weak_ptr.h
-+++ b/base/memory/weak_ptr.h
-@@ -289,9 +289,10 @@ class WeakPtr : public internal::WeakPtrBase {
- template <typename U> friend class WeakPtr;
- friend class SupportsWeakPtr<T>;
- friend class WeakPtrFactory<T>;
-- friend SafeRef<T> internal::MakeSafeRefFromWeakPtrInternals(
-+ template <typename U>
-+ friend SafeRef<U> internal::MakeSafeRefFromWeakPtrInternals(
- const internal::WeakReference& ref,
-- T* ptr);
-+ U* ptr);
-
- WeakPtr(const internal::WeakReference& ref, T* ptr)
- : WeakPtrBase(ref, reinterpret_cast<uintptr_t>(ptr)) {}