Bug 1125940 - File should not unlink FileImpl, r=khuey

This commit is contained in:
Andrea Marchesini 2015-02-19 18:31:32 +01:00
Родитель b155c873e1
Коммит 1db2f31a2f
1 изменённых файлов: 0 добавлений и 3 удалений

Просмотреть файл

@ -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