зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1125940 - File should not unlink FileImpl, r=khuey
This commit is contained in:
Родитель
b155c873e1
Коммит
1db2f31a2f
|
@ -129,14 +129,11 @@ nsresult DataOwnerAdapter::Create(DataOwner* aDataOwner,
|
|||
NS_IMPL_CYCLE_COLLECTION_CLASS(File)
|
||||
|
||||
NS_IMPL_CYCLE_COLLECTION_UNLINK_BEGIN(File)
|
||||
// No unlink for mImpl bacause FileImpl is not CC-able.
|
||||
tmp->mImpl = nullptr;
|
||||
NS_IMPL_CYCLE_COLLECTION_UNLINK(mParent)
|
||||
NS_IMPL_CYCLE_COLLECTION_UNLINK_PRESERVED_WRAPPER
|
||||
NS_IMPL_CYCLE_COLLECTION_UNLINK_END
|
||||
|
||||
NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN(File)
|
||||
// No traverse for mImpl bacause FileImpl is not CC-able.
|
||||
NS_IMPL_CYCLE_COLLECTION_TRAVERSE(mParent)
|
||||
NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS
|
||||
NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END
|
||||
|
|
Загрузка…
Ссылка в новой задаче