From 1db2f31a2fa403ba2ba3384042056e97f38d5d0c Mon Sep 17 00:00:00 2001 From: Andrea Marchesini Date: Thu, 19 Feb 2015 18:31:32 +0100 Subject: [PATCH] Bug 1125940 - File should not unlink FileImpl, r=khuey --- dom/base/File.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/dom/base/File.cpp b/dom/base/File.cpp index 20fdb2580495..93611359c140 100644 --- a/dom/base/File.cpp +++ b/dom/base/File.cpp @@ -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