From 208a5f3499f8c4efeac43291dd48242ea9375c73 Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Fri, 17 Mar 2023 10:24:01 -0400 Subject: [PATCH] Remove rlz_tracker_4294854.patch This change was merged to 112.0.5615.13. --- patch/patch.cfg | 5 ---- patch/patches/rlz_tracker_4294854.patch | 36 ------------------------- 2 files changed, 41 deletions(-) delete mode 100644 patch/patches/rlz_tracker_4294854.patch diff --git a/patch/patch.cfg b/patch/patch.cfg index 9040ab35f..009ef7785 100644 --- a/patch/patch.cfg +++ b/patch/patch.cfg @@ -617,10 +617,5 @@ patches = [ # win: Add missing process_handle.h include for cef_sandbox build. # https://chromium-review.googlesource.com/c/chromium/src/+/4294575 'name': 'base_logging_4294575' - }, - { - # Fix Check failed: !*GetSingletonDisallowedTls() on shutdown. - # https://chromium-review.googlesource.com/c/chromium/src/+/4294854 - 'name': 'rlz_tracker_4294854' } ] diff --git a/patch/patches/rlz_tracker_4294854.patch b/patch/patches/rlz_tracker_4294854.patch deleted file mode 100644 index 36ac3ad0a..000000000 --- a/patch/patches/rlz_tracker_4294854.patch +++ /dev/null @@ -1,36 +0,0 @@ -diff --git components/rlz/rlz_tracker.cc components/rlz/rlz_tracker.cc -index b59d3ba6f1aa4..74e488cd4f3c6 100644 ---- components/rlz/rlz_tracker.cc -+++ components/rlz/rlz_tracker.cc -@@ -219,7 +219,8 @@ class RLZTracker::WrapperURLLoaderFactory - - // static - RLZTracker* RLZTracker::GetInstance() { -- return tracker_ ? tracker_ : base::Singleton::get(); -+ static base::NoDestructor instance; -+ return tracker_ ? tracker_ : instance.get(); - } - - RLZTracker::RLZTracker() -diff --git components/rlz/rlz_tracker.h components/rlz/rlz_tracker.h -index 5e30a66838620..bd2166db1f53f 100644 ---- components/rlz/rlz_tracker.h -+++ components/rlz/rlz_tracker.h -@@ -10,7 +10,7 @@ - #include - - #include "base/memory/ref_counted.h" --#include "base/memory/singleton.h" -+#include "base/no_destructor.h" - #include "base/sequence_checker.h" - #include "base/thread_annotations.h" - #include "base/time/time.h" -@@ -128,7 +128,7 @@ class RLZTracker { - void PingNowImpl(); - - private: -- friend struct base::DefaultSingletonTraits; -+ friend class base::NoDestructor; - friend class base::RefCountedThreadSafe; - - // Implementation called from SetRlzDelegate() static method.