aboutsummaryrefslogtreecommitdiff
path: root/www/seamonkey/files/extra-patch-nsSVGLibartGlyphMetricsFT.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'www/seamonkey/files/extra-patch-nsSVGLibartGlyphMetricsFT.cpp')
-rw-r--r--www/seamonkey/files/extra-patch-nsSVGLibartGlyphMetricsFT.cpp43
1 files changed, 0 insertions, 43 deletions
diff --git a/www/seamonkey/files/extra-patch-nsSVGLibartGlyphMetricsFT.cpp b/www/seamonkey/files/extra-patch-nsSVGLibartGlyphMetricsFT.cpp
deleted file mode 100644
index be76e019d074..000000000000
--- a/www/seamonkey/files/extra-patch-nsSVGLibartGlyphMetricsFT.cpp
+++ /dev/null
@@ -1,43 +0,0 @@
---- layout/svg/renderer/src/libart/nsSVGLibartGlyphMetricsFT.cpp.orig Thu Feb 26 02:13:35 2004
-+++ layout/svg/renderer/src/libart/nsSVGLibartGlyphMetricsFT.cpp Thu Feb 26 03:27:56 2004
-@@ -56,6 +57,13 @@
- #include "nsArray.h"
- #include "nsDataHashtable.h"
-
-+
-+#ifdef HAVE_CPP_2BYTE_WCHAR_T
-+ typedef nsDependentString nsLiteralString;
-+#else
-+ typedef NS_ConvertASCIItoUTF16 nsLiteralString;
-+#endif
-+
- /**
- * \addtogroup libart_renderer Libart Rendering Engine
- * @{
-@@ -112,7 +120,7 @@
- nsCOMPtr<nsISVGGlyphMetricsSource> mSource;
-
- public:
-- static nsDataHashtable<nsStringHashKey,nsDependentString*> sFontAliases;
-+ static nsDataHashtable<nsStringHashKey,nsLiteralString*> sFontAliases;
- };
-
- /** @} */
-@@ -120,7 +128,7 @@
- //----------------------------------------------------------------------
- // nsSVGLibartGlyphMetricsFT implementation:
-
--nsDataHashtable<nsStringHashKey,nsDependentString*>
-+nsDataHashtable<nsStringHashKey,nsLiteralString*>
- nsSVGLibartGlyphMetricsFT::sFontAliases;
-
-
-@@ -406,7 +414,7 @@
- }
- else {
- // try alias if there is one:
-- nsDependentString *alias = nsnull;
-+ nsLiteralString *alias = nsnull;
- nsSVGLibartGlyphMetricsFT::sFontAliases.Get(NS_ConvertUTF8toUCS2(family_name),
- &alias);
- if (alias) {