diff --git a/layout/svg/renderer/src/libart/nsSVGLibartGlyphMetricsFT.cpp b/layout/svg/renderer/src/libart/nsSVGLibartGlyphMetricsFT.cpp index d869bcf0452..8a8ac1f7496 100644 --- a/layout/svg/renderer/src/libart/nsSVGLibartGlyphMetricsFT.cpp +++ b/layout/svg/renderer/src/libart/nsSVGLibartGlyphMetricsFT.cpp @@ -112,7 +112,7 @@ private: nsCOMPtr mSource; public: - static nsDataHashtable sFontAliases; + static nsDataHashtable sFontAliases; }; /** @} */ @@ -120,7 +120,7 @@ public: //---------------------------------------------------------------------- // nsSVGLibartGlyphMetricsFT implementation: -nsDataHashtable +nsDataHashtable nsSVGLibartGlyphMetricsFT::sFontAliases; @@ -406,7 +406,7 @@ FindFont(const nsString& aFamily, PRBool aGeneric, void *aData) } else { // try alias if there is one: - nsDependentString *alias = nsnull; + const nsDependentString *alias = nsnull; nsSVGLibartGlyphMetricsFT::sFontAliases.Get(NS_ConvertUTF8toUCS2(family_name), &alias); if (alias) {