Skip to content
Browse files

Bug 713417 - Make the nsGkAtoms::range property transferable. r=smaug

  • Loading branch information...
1 parent 1ec6db5 commit 01b6ae9bd505a34713677d23e700cd5fcee5d214 @MatsPalmgren MatsPalmgren committed Dec 26, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 content/base/src/nsRange.cpp
View
2 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();

0 comments on commit 01b6ae9

Please sign in to comment.
Something went wrong with that request. Please try again.