diff options
Diffstat (limited to 'embed/mozilla/EventContext.cpp')
-rw-r--r-- | embed/mozilla/EventContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/mozilla/EventContext.cpp b/embed/mozilla/EventContext.cpp index cdcaf39aa..5b5db0638 100644 --- a/embed/mozilla/EventContext.cpp +++ b/embed/mozilla/EventContext.cpp @@ -189,7 +189,7 @@ nsresult EventContext::Unescape (const nsACString &aEscaped, nsACString &aUnesca NS_ENSURE_SUCCESS (rv, NS_ERROR_FAILURE); nsEmbedString unescaped; - rv = escaper->UnEscapeNonAsciiURI (encoding, aEscaped, unescaped); + rv = escaper->UnEscapeURIForUI (encoding, aEscaped, unescaped); NS_ENSURE_TRUE (NS_SUCCEEDED (rv) && unescaped.Length(), NS_ERROR_FAILURE); NS_UTF16ToCString (unescaped, NS_CSTRING_ENCODING_UTF8, aUnescaped); |