diff options
Diffstat (limited to 'www/waterfox/files/patch-bug1448774')
-rw-r--r-- | www/waterfox/files/patch-bug1448774 | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/www/waterfox/files/patch-bug1448774 b/www/waterfox/files/patch-bug1448774 deleted file mode 100644 index 8627702a8f10..000000000000 --- a/www/waterfox/files/patch-bug1448774 +++ /dev/null @@ -1,40 +0,0 @@ -commit 8ae6890efea4 -Author: Robert Longson <longsonr@gmail.com> -Date: Thu Mar 29 03:12:05 2018 +0100 - - Bug 1448774. r=dholbert, a=RyanVM - - --HG-- - extra : source : edfd9ffbd7208ef0a59f40a0d77d8dd53c905cb9 ---- - dom/svg/SVGTextContentElement.h | 1 + - layout/svg/SVGTextFrame.cpp | 4 ++-- - 2 files changed, 3 insertions(+), 2 deletions(-) - -diff --git dom/svg/SVGTextContentElement.h dom/svg/SVGTextContentElement.h -index 712d9492b5a0..9eb464ab159a 100644 ---- dom/svg/SVGTextContentElement.h -+++ dom/svg/SVGTextContentElement.h -@@ -25,6 +25,7 @@ typedef SVGGraphicsElement SVGTextContentElementBase; - - class SVGTextContentElement : public SVGTextContentElementBase - { -+ friend class ::SVGTextFrame; - public: - using FragmentOrElement::TextLength; - -diff --git layout/svg/SVGTextFrame.cpp layout/svg/SVGTextFrame.cpp -index 9c44ce595654..2be5970075dd 100644 ---- layout/svg/SVGTextFrame.cpp -+++ layout/svg/SVGTextFrame.cpp -@@ -5290,8 +5290,8 @@ SVGTextFrame::DoGlyphPositioning() - float actualTextLength = - static_cast<float>(presContext->AppUnitsToGfxUnits(frameLength) * factor); - -- RefPtr<SVGAnimatedEnumeration> lengthAdjustEnum = element->LengthAdjust(); -- uint16_t lengthAdjust = lengthAdjustEnum->AnimVal(); -+ uint16_t lengthAdjust = -+ element->EnumAttributes()[SVGTextContentElement::LENGTHADJUST].GetAnimValue(); - switch (lengthAdjust) { - case LENGTHADJUST_SPACINGANDGLYPHS: - // Scale the glyphs and their positions. |