mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-26 21:50:42 -10:00
Bug 1234192 - part 2 - Directory should unlink/traverse the OSFileSystem in order to unlink/traverse the window, r=smaug
This commit is contained in:
1 parent
058eacf49e
commit
c1aa706758
4 files changed
+37
-2
No files matched your search
@@ -76,5 +76,18 @@ OSFileSystem::IsSafeDirectory(Directory* aDir) const
|
||||
return true;
|
||||
}
|
||||
|
||||
void
|
||||
OSFileSystem::Unlink()
|
||||
{
|
||||
mWindow = nullptr;
|
||||
}
|
||||
|
||||
void
|
||||
OSFileSystem::Traverse(nsCycleCollectionTraversalCallback &cb)
|
||||
{
|
||||
OSFileSystem* tmp = this;
|
||||
NS_IMPL_CYCLE_COLLECTION_TRAVERSE(mWindow);
|
||||
}
|
||||
|
||||
} // namespace dom
|
||||
} // namespace mozilla
|
||||
Reference in new issue
Block a user