From 1bed7cccf49536727cc13a3e684202ce29ced920 Mon Sep 17 00:00:00 2001 From: Mats Palmgren Date: Mon, 26 Dec 2011 14:29:25 +0100 Subject: [PATCH] Bug 713417 - Make the nsGkAtoms::range property transferable. r=smaug --- content/base/src/nsRange.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/base/src/nsRange.cpp b/content/base/src/nsRange.cpp index 5733d172d29..78977c46aff 100644 --- a/content/base/src/nsRange.cpp +++ b/content/base/src/nsRange.cpp @@ -416,7 +416,7 @@ nsIRange::RegisterCommonAncestor(nsINode* aNode) if (!ranges) { ranges = new RangeHashTable; ranges->Init(); - aNode->SetProperty(nsGkAtoms::range, ranges, RangeHashTableDtor); + aNode->SetProperty(nsGkAtoms::range, ranges, RangeHashTableDtor, true); } ranges->PutEntry(this); aNode->SetCommonAncestorForRangeInSelection();