Bug 1663300 - Remove MessageChannel::IsInTransaction(). r=jld

Differential Revision: https://phabricator.services.mozilla.com/D89317
This commit is contained in:
Masatoshi Kimura 2020-09-09 17:34:22 +00:00
parent 3b21062b11
commit 99eff289ec
2 changed files with 0 additions and 6 deletions

View File

@ -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) {

View File

@ -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