Backed out changeset 83ce34cabf08 (bug 1257180)

This commit is contained in:
Sebastian Hengst committed 2016-04-12 17:56:08 +02:00
1 parent 7a7e7dc5ea
commit 8024005887
5 files changed
+7 -119

No files matched your search

+4
View File
@@ -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);