Loading
Bug 1832751 - cherry-pick upstream libwebrtc commit 3da04a93cd. r=webrtc-reviewers,mjf
Upstream commit: https://webrtc.googlesource.com/src/+/3da04a93cd18dc7b65c6756910cc8a9cbf20fb8c Allow SequenceChecker to be initialized detached. The motivation for this is to not have to implement this pattern: foo.h: class Foo { public: Foo(); private: SequenceChecker checker_; }; foo.cc: Foo::Foo() { checker_.Detach(); } And instead be able to do this inline in the .h file: class Foo { public: Foo(); private: SequenceChecker checker_{SequenceChecker::kDetached}; }; Bug: none Change-Id: Idd7ca82d15c2f77f3aaccf26f1943a49f4b40661 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/298445 Reviewed-by:Danil Chapovalov <danilchap@webrtc.org> Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org> Cr-Commit-Position: refs/heads/main@{#39616} Differential Revision: https://phabricator.services.mozilla.com/D177874