From 43609ca84694acca988dc0ae591c69ac447659b2 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Thu, 14 Jul 2022 19:16:24 -0400 Subject: chromium: Remove obsolete versions and patches --- ...hromium-87-CrossThreadPersistent-template.patch | 32 ---------------------- 1 file changed, 32 deletions(-) delete mode 100644 www-client/chromium/files/chromium-87-CrossThreadPersistent-template.patch (limited to 'www-client/chromium/files/chromium-87-CrossThreadPersistent-template.patch') diff --git a/www-client/chromium/files/chromium-87-CrossThreadPersistent-template.patch b/www-client/chromium/files/chromium-87-CrossThreadPersistent-template.patch deleted file mode 100644 index 585c91f..0000000 --- a/www-client/chromium/files/chromium-87-CrossThreadPersistent-template.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 37070745728cd7744e12fa5110cde304ab6a048d Mon Sep 17 00:00:00 2001 -From: Jose Dapena Paz -Date: Tue, 15 Sep 2020 16:55:19 +0200 -Subject: [PATCH] GCC: avoid GCC getting confused with wrong using resolution in CrossThreadPersistent - -In the method to assign a CrossThreadWeakPersistent to a CrossThreadPersistent, -there is a call to the parent class implementation of Get. It uses Parent, that is, -in CrossThreadPersistent an alias to its parent. GCC resolves it as that, but -that's wrong, and it should resolve to the parent of CrossThreadWeakPersistent. - -To avoid the problem, we define in that method ParentU resolving to the right -parent, and use a static cast to it. - -Bug: 819294 -Change-Id: I0152dac92d4a28eb1f1abbc56473204b62f33797 ---- - -diff --git a/third_party/blink/renderer/platform/heap/persistent.h b/third_party/blink/renderer/platform/heap/persistent.h -index f08f42f..32cadc0 100644 ---- a/third_party/blink/renderer/platform/heap/persistent.h -+++ b/third_party/blink/renderer/platform/heap/persistent.h -@@ -784,7 +784,9 @@ - CrossThreadPersistent& CrossThreadPersistent::operator=( - const CrossThreadWeakPersistent& other) { - MutexLocker locker(ProcessHeap::CrossThreadPersistentMutex()); -- this->AssignUnsafe(other.Parent::Get()); -+ using ParentU = PersistentBase; -+ this->AssignUnsafe(static_cast(other).Get()); - return *this; - } - -- cgit v1.2.3