From bbc77ff72186f9fd4cc2e4be3774c73ce263392c Mon Sep 17 00:00:00 2001 From: Eitan Isaacson Date: Tue, 8 Mar 2022 17:29:18 +0000 Subject: [PATCH] Bug 1758190 - Actually add AccGroupInfo instances to SetAttribute. r=morgan The browser_obj_group.js test will pass when caching is enabled once this lands. Differential Revision: https://phabricator.services.mozilla.com/D140402 --- accessible/base/AccAttributes.h | 1 + 1 file changed, 1 insertion(+) diff --git a/accessible/base/AccAttributes.h b/accessible/base/AccAttributes.h index e9bed75b2ca5..c522af6d97a6 100644 --- a/accessible/base/AccAttributes.h +++ b/accessible/base/AccAttributes.h @@ -104,6 +104,7 @@ class AccAttributes { void SetAttribute(nsAtom* aAttrName, AccGroupInfo* aAttrValue) { UniquePtr value(aAttrValue); + mData.InsertOrUpdate(aAttrName, AsVariant(std::move(value))); } void SetAttribute(nsAtom* aAttrName, gfx::Matrix4x4&& aAttrValue) {