mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-15 19:57:29 +09:00
Attach FrameProperties to each frame instead of using a shared hashtable
Dispense the shared hashtable and instead attach the frame property list directly to nsIFrame.
This commit is contained in:
parent
c135831979
commit
922e819d1c
62 changed files with 738 additions and 945 deletions
|
|
@ -72,7 +72,7 @@ nsSVGGradientFrame::AttributeChanged(int32_t aNameSpaceID,
|
|||
aNameSpaceID == kNameSpaceID_None) &&
|
||||
aAttribute == nsGkAtoms::href) {
|
||||
// Blow away our reference, if any
|
||||
Properties().Delete(nsSVGEffects::HrefAsPaintingProperty());
|
||||
DeleteProperty(nsSVGEffects::HrefAsPaintingProperty());
|
||||
mNoHRefURI = false;
|
||||
// And update whoever references us
|
||||
nsSVGEffects::InvalidateDirectRenderingObservers(this);
|
||||
|
|
@ -316,7 +316,7 @@ nsSVGGradientFrame::GetReferencedGradient()
|
|||
return nullptr;
|
||||
|
||||
nsSVGPaintingProperty *property =
|
||||
Properties().Get(nsSVGEffects::HrefAsPaintingProperty());
|
||||
GetProperty(nsSVGEffects::HrefAsPaintingProperty());
|
||||
|
||||
if (!property) {
|
||||
// Fetch our gradient element's href or xlink:href attribute
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue