27 lines
964 B
Diff
27 lines
964 B
Diff
diff --git base/threading/thread_restrictions.cc base/threading/thread_restrictions.cc
|
|
index a892d9bb96bfe..33d13529aeadd 100644
|
|
--- base/threading/thread_restrictions.cc
|
|
+++ base/threading/thread_restrictions.cc
|
|
@@ -267,18 +267,18 @@ void DisallowUnresponsiveTasks() {
|
|
|
|
// static
|
|
void PermanentThreadAllowance::AllowBlocking() {
|
|
- *GetBlockingDisallowedTls().Set(std::make_unique<BooleanWithStack>(false));
|
|
+ GetBlockingDisallowedTls().Set(std::make_unique<BooleanWithStack>(false));
|
|
}
|
|
|
|
// static
|
|
void PermanentThreadAllowance::AllowBaseSyncPrimitives() {
|
|
- *GetBaseSyncPrimitivesDisallowedTls().Set(
|
|
+ GetBaseSyncPrimitivesDisallowedTls().Set(
|
|
std::make_unique<BooleanWithStack>(false));
|
|
}
|
|
|
|
// static
|
|
void PermanentSingletonAllowance::AllowSingleton() {
|
|
- *GetSingletonDisallowedTls().Set(std::make_unique<BooleanWithStack>(false));
|
|
+ GetSingletonDisallowedTls().Set(std::make_unique<BooleanWithStack>(false));
|
|
}
|
|
|
|
} // namespace base
|