diff --git a/content/base/src/nsRange.cpp b/content/base/src/nsRange.cpp index 5733d172d297..78977c46aff1 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();