summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2022-11-10 11:20:02 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2022-11-15 12:13:30 +0000
commitd5f670cd1e0045ae2db4e553302600cf54ea838c (patch)
tree2c4032f07f8afb882bb5aca55d8ea70a70276981
parent692e85062c27a61861fa868c4113d686073b052d (diff)
downloadqtwebengine-chromium-d5f670cd1e0045ae2db4e553302600cf54ea838c.tar.gz
FIXUP: Remove linking with libatomic
Change-Id: Ie1ee63a741763d15e549605f9fcca4c6025a6a71 Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/442604 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
-rw-r--r--chromium/base/allocator/dispatcher/dispatcher.cc22
1 files changed, 11 insertions, 11 deletions
diff --git a/chromium/base/allocator/dispatcher/dispatcher.cc b/chromium/base/allocator/dispatcher/dispatcher.cc
index b6ecb1c5640..ead322716f6 100644
--- a/chromium/base/allocator/dispatcher/dispatcher.cc
+++ b/chromium/base/allocator/dispatcher/dispatcher.cc
@@ -251,22 +251,22 @@ namespace base::allocator::dispatcher {
// The private implementation of Dispatcher.
struct Dispatcher::Impl {
void Initialize(const internal::DispatchData& dispatch_data) {
-#if DCHECK_IS_ON()
- DCHECK(!is_initialized_check_flag_.test_and_set());
-#endif
+// #if DCHECK_IS_ON()
+// DCHECK(!is_initialized_check_flag_.test_and_set());
+// #endif
dispatch_data_ = dispatch_data;
ConnectToEmitters(dispatch_data_);
}
void Reset() {
-#if DCHECK_IS_ON()
- DCHECK([&]() {
- auto const was_set = is_initialized_check_flag_.test();
- is_initialized_check_flag_.clear();
- return was_set;
- }());
-#endif
+// #if DCHECK_IS_ON()
+// DCHECK([&]() {
+// auto const was_set = is_initialized_check_flag_.test();
+// is_initialized_check_flag_.clear();
+// return was_set;
+// }());
+// #endif
DisconnectFromEmitters(dispatch_data_);
dispatch_data_ = {};
@@ -338,4 +338,4 @@ void Dispatcher::Initialize(const internal::DispatchData& dispatch_data) {
void Dispatcher::ResetForTesting() {
impl_->Reset();
}
-} // namespace base::allocator::dispatcher \ No newline at end of file
+} // namespace base::allocator::dispatcher