summaryrefslogtreecommitdiff
path: root/patches/www-client/chromium-72.0.3626.96/use-after-move.patch
diff options
context:
space:
mode:
authorKenny Ballou <kballou@devnulllabs.io>2019-03-08 21:44:56 -0700
committerKenny Ballou <kballou@devnulllabs.io>2019-03-08 21:44:56 -0700
commit3d8c0621df66b34d78334c6cacd9990c6222bf79 (patch)
treea77ae3a7c7cae65882d3bdb9f784732b75960596 /patches/www-client/chromium-72.0.3626.96/use-after-move.patch
parent59201188169f51645159ebb2cf0cd52619915c16 (diff)
downloadgentoo.patches-3d8c0621df66b34d78334c6cacd9990c6222bf79.tar.gz
gentoo.patches-3d8c0621df66b34d78334c6cacd9990c6222bf79.tar.xz
Update chromium version
Rename patches, applying for chromium-72-0.3626.121. Signed-off-by: Kenny Ballou <kballou@devnulllabs.io>
Diffstat (limited to 'patches/www-client/chromium-72.0.3626.96/use-after-move.patch')
-rw-r--r--patches/www-client/chromium-72.0.3626.96/use-after-move.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/patches/www-client/chromium-72.0.3626.96/use-after-move.patch b/patches/www-client/chromium-72.0.3626.96/use-after-move.patch
deleted file mode 100644
index a72a4f2..0000000
--- a/patches/www-client/chromium-72.0.3626.96/use-after-move.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-description: gcc 6 does not support using a unique_ptr after its been moved
-author: Michael Gilbert <mgilbert@debian.org>
-
---- a/services/resource_coordinator/coordination_unit/coordination_unit_base.cc
-+++ b/services/resource_coordinator/coordination_unit/coordination_unit_base.cc
-@@ -81,7 +81,8 @@ void CoordinationUnitBase::SetProperty(m
- // static
- CoordinationUnitBase* CoordinationUnitBase::PassOwnershipToGraph(
- std::unique_ptr<CoordinationUnitBase> new_cu) {
-- return new_cu->graph()->AddNewCoordinationUnit(std::move(new_cu));
-+ CoordinationUnitGraph* graph = new_cu->graph();
-+ return graph->AddNewCoordinationUnit(std::move(new_cu));
- }
-
- } // namespace resource_coordinator
-
---- a/base/task/sequence_manager/task_queue.cc
-+++ b/base/task/sequence_manager/task_queue.cc
-@@ -50,7 +50,9 @@ TaskQueue::~TaskQueue() {
- // If we've not been unregistered then this must occur on the main thread.
- DCHECK_CALLED_ON_VALID_THREAD(associated_thread_->thread_checker);
- impl_->SetOnNextWakeUpChangedCallback(RepeatingCallback<void(TimeTicks)>());
-- impl_->sequence_manager()->ShutdownTaskQueueGracefully(TakeTaskQueueImpl());
-+ internal::SequenceManagerImpl* sequence_manager = impl_->sequence_manager();
-+ if (sequence_manager)
-+ sequence_manager->ShutdownTaskQueueGracefully(TakeTaskQueueImpl());
- }
-
- TaskQueue::TaskTiming::TaskTiming(bool has_wall_time, bool has_thread_time)