icecat: add release icecat-140.10.1-1gnu1 for ecne
This commit is contained in:
parent
a5f93cb214
commit
ff85d7c623
1256 changed files with 63469 additions and 24141 deletions
|
|
@ -1333,7 +1333,11 @@ void nsAttrValue::ParseAtom(const nsAString& aValue) {
|
|||
void nsAttrValue::ParseAtomArray(nsAtom* aValue) {
|
||||
if (MiscContainer* cont = AtomArrayCache::Lookup(aValue)) {
|
||||
// Set our MiscContainer to the cached one.
|
||||
// AddRef must happen before ResetIfSet: the cache does not hold a strong
|
||||
// reference, and ResetIfSet could release the last reference to cont if
|
||||
// this nsAttrValue is already holding it.
|
||||
NS_ADDREF(cont);
|
||||
ResetIfSet();
|
||||
SetPtrValueAndType(cont, eOtherBase);
|
||||
return;
|
||||
}
|
||||
|
|
@ -1933,7 +1937,11 @@ bool nsAttrValue::ParseStyleAttribute(const nsAString& aString,
|
|||
if (cachingAllowed) {
|
||||
if (MiscContainer* cont = attrStyles->LookupStyleAttr(aString)) {
|
||||
// Set our MiscContainer to the cached one.
|
||||
// AddRef must happen before ResetIfSet: the cache does not hold a strong
|
||||
// reference, and ResetIfSet could release the last reference to cont if
|
||||
// this nsAttrValue is already holding it.
|
||||
NS_ADDREF(cont);
|
||||
ResetIfSet();
|
||||
SetPtrValueAndType(cont, eOtherBase);
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue