Backed out changeset 6631a30338d3 (bug 1839243) for causing build bustage in xpcom/base/MemoryMapping.cpp CLOSED TREE

This commit is contained in:
Sandor Molnar 2023-09-06 13:50:38 +03:00
parent 090f7de659
commit b4607a7630
3 changed files with 0 additions and 15 deletions

View File

@ -41,7 +41,6 @@ FileSystemManagerParent::FileSystemManagerParent(
FileSystemManagerParent::~FileSystemManagerParent() {
LOG(("Destroying FileSystemManagerParent %p", this));
MOZ_ASSERT(!mRegistered);
}
void FileSystemManagerParent::AssertIsOnIOTarget() const {

View File

@ -28,10 +28,6 @@ class FileSystemManagerParent : public PFileSystemManagerParent {
void AssertIsOnIOTarget() const;
#ifdef DEBUG
void SetRegistered(bool aRegistered) { mRegistered = aRegistered; }
#endif
// Safe to call while the actor is live.
const RefPtr<fs::data::FileSystemDataManager>& DataManagerStrongRef() const;
@ -83,8 +79,6 @@ class FileSystemManagerParent : public PFileSystemManagerParent {
FlippedOnce<false> mRequestedAllowToClose;
DEBUGONLY(bool mRegistered = false);
DEBUGONLY(bool mActorDestroyed = false);
};

View File

@ -320,10 +320,6 @@ void FileSystemDataManager::RegisterActor(
MOZ_ASSERT(!mBackgroundThreadAccessible.Access()->mActors.Contains(aActor));
mBackgroundThreadAccessible.Access()->mActors.Insert(aActor);
#ifdef DEBUG
aActor->SetRegistered(true);
#endif
}
void FileSystemDataManager::UnregisterActor(
@ -332,10 +328,6 @@ void FileSystemDataManager::UnregisterActor(
mBackgroundThreadAccessible.Access()->mActors.Remove(aActor);
#ifdef DEBUG
aActor->SetRegistered(false);
#endif
if (IsInactive()) {
BeginClose();
}