mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-27 18:01:44 -10:00
Backed out changeset 83ce34cabf08 (bug 1257180)
This commit is contained in:
1 parent
7a7e7dc5ea
commit
8024005887
5 files changed
+7
-119
No files matched your search
@@ -59,6 +59,7 @@ nsISupports*
|
||||
OSFileSystem::GetParentObject() const
|
||||
{
|
||||
AssertIsOnOwningThread();
|
||||
MOZ_ASSERT(NS_IsMainThread(), "Only call on main thread!");
|
||||
return mParent;
|
||||
}
|
||||
|
||||
@@ -93,6 +94,8 @@ void
|
||||
OSFileSystem::Unlink()
|
||||
{
|
||||
AssertIsOnOwningThread();
|
||||
MOZ_ASSERT(NS_IsMainThread(), "Only call on main thread!");
|
||||
|
||||
mParent = nullptr;
|
||||
}
|
||||
|
||||
@@ -100,6 +103,7 @@ void
|
||||
OSFileSystem::Traverse(nsCycleCollectionTraversalCallback &cb)
|
||||
{
|
||||
AssertIsOnOwningThread();
|
||||
MOZ_ASSERT(NS_IsMainThread(), "Only call on main thread!");
|
||||
|
||||
OSFileSystem* tmp = this;
|
||||
NS_IMPL_CYCLE_COLLECTION_TRAVERSE(mParent);
|
||||
|
||||
Reference in new issue
Block a user