mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 16:25:38 +00:00
Bug 1663300 - Remove MessageChannel::IsInTransaction(). r=jld
Differential Revision: https://phabricator.services.mozilla.com/D89317
This commit is contained in:
parent
3b21062b11
commit
99eff289ec
@ -2909,11 +2909,6 @@ void MessageChannel::CancelTransaction(int transaction) {
|
||||
AssertMaybeDeferredCountCorrect();
|
||||
}
|
||||
|
||||
bool MessageChannel::IsInTransaction() const {
|
||||
MonitorAutoLock lock(*mMonitor);
|
||||
return !!mTransactionStack;
|
||||
}
|
||||
|
||||
void MessageChannel::CancelCurrentTransaction() {
|
||||
MonitorAutoLock lock(*mMonitor);
|
||||
if (DispatchingSyncMessageNestedLevel() >= IPC::Message::NESTED_INSIDE_SYNC) {
|
||||
|
@ -279,7 +279,6 @@ class MessageChannel : HasResultCodes {
|
||||
|
||||
bool IsOnCxxStack() const { return !mCxxStackFrames.empty(); }
|
||||
|
||||
bool IsInTransaction() const;
|
||||
void CancelCurrentTransaction();
|
||||
|
||||
// Force all calls to Send to defer actually sending messages. This will
|
||||
|
Loading…
Reference in New Issue
Block a user