mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
Backed out changeset 6631a30338d3 (bug 1839243) for causing build bustage in xpcom/base/MemoryMapping.cpp CLOSED TREE
This commit is contained in:
parent
090f7de659
commit
b4607a7630
@ -41,7 +41,6 @@ FileSystemManagerParent::FileSystemManagerParent(
|
||||
|
||||
FileSystemManagerParent::~FileSystemManagerParent() {
|
||||
LOG(("Destroying FileSystemManagerParent %p", this));
|
||||
MOZ_ASSERT(!mRegistered);
|
||||
}
|
||||
|
||||
void FileSystemManagerParent::AssertIsOnIOTarget() const {
|
||||
|
@ -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);
|
||||
};
|
||||
|
||||
|
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user