зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1225699 part 7 - Keep effect properties when the ownerDocument of the element changes; r=smaug
This commit is contained in:
Родитель
4a1f1632e9
Коммит
cf420be127
|
@ -54,7 +54,7 @@ EffectSet::GetOrCreateEffectSet(dom::Element* aElement,
|
|||
effectSet = new EffectSet();
|
||||
|
||||
nsresult rv = aElement->SetProperty(propName, effectSet,
|
||||
&EffectSet::PropertyDtor, false);
|
||||
&EffectSet::PropertyDtor, true);
|
||||
if (NS_FAILED(rv)) {
|
||||
NS_WARNING("SetProperty failed");
|
||||
// The set must be destroyed via PropertyDtor, otherwise
|
||||
|
|
Загрузка…
Ссылка в новой задаче