mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-29 11:57:32 +09:00
Add SSE2 for memcpy and memuse. caching SVGs too cuz why not
This commit is contained in:
parent
6bcff8e916
commit
81e2ff2fe2
4 changed files with 133 additions and 13 deletions
|
|
@ -16,6 +16,11 @@
|
|||
#include "nsIURI.h"
|
||||
#include "nsSVGEffects.h"
|
||||
|
||||
#include "nsDataHashtable.h"
|
||||
#include "nsHashKeys.h"
|
||||
#include "nsString.h"
|
||||
#include "mozilla/dom/Element.h"
|
||||
|
||||
NS_IMPL_NS_NEW_NAMESPACED_SVG_ELEMENT(Use)
|
||||
|
||||
namespace mozilla {
|
||||
|
|
@ -518,5 +523,8 @@ SVGUseElement::IsAttributeMapped(const nsIAtom* name) const
|
|||
SVGUseElementBase::IsAttributeMapped(name);
|
||||
}
|
||||
|
||||
//cache svgs
|
||||
static nsDataHashtable<nsStringHashKey, Element*> gIconSymbolCache;
|
||||
|
||||
} // namespace dom
|
||||
} // namespace mozilla
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue