diff --git a/mozilla/base/src/nsFileSpec.cpp b/mozilla/base/src/nsFileSpec.cpp index 2d2f82e34cf..ed861acd2c6 100644 --- a/mozilla/base/src/nsFileSpec.cpp +++ b/mozilla/base/src/nsFileSpec.cpp @@ -461,7 +461,7 @@ nsFileURL::nsFileURL(const char* inString, PRBool inCreateDirs) // inString is escaped. We want to make an nsFilePath, which requires // an unescaped string. nsSimpleCharString unescapedPath(inString + kFileURLPrefixLength); - unescapedPath.Unescape() + unescapedPath.Unescape(); nsFilePath path(unescapedPath, inCreateDirs); *this = path; } // nsFileURL::nsFileURL @@ -481,7 +481,7 @@ nsFileURL::nsFileURL(const nsString& inString, PRBool inCreateDirs) // inString is escaped. We want to make an nsFilePath, which requires // an unescaped string. nsSimpleCharString unescapedPath(aCString + kFileURLPrefixLength); - unescapedPath.Unescape() + unescapedPath.Unescape(); nsFilePath path(unescapedPath, inCreateDirs); *this = path; } // nsFileURL::nsFileURL diff --git a/mozilla/xpcom/io/nsFileSpec.cpp b/mozilla/xpcom/io/nsFileSpec.cpp index 2d2f82e34cf..ed861acd2c6 100644 --- a/mozilla/xpcom/io/nsFileSpec.cpp +++ b/mozilla/xpcom/io/nsFileSpec.cpp @@ -461,7 +461,7 @@ nsFileURL::nsFileURL(const char* inString, PRBool inCreateDirs) // inString is escaped. We want to make an nsFilePath, which requires // an unescaped string. nsSimpleCharString unescapedPath(inString + kFileURLPrefixLength); - unescapedPath.Unescape() + unescapedPath.Unescape(); nsFilePath path(unescapedPath, inCreateDirs); *this = path; } // nsFileURL::nsFileURL @@ -481,7 +481,7 @@ nsFileURL::nsFileURL(const nsString& inString, PRBool inCreateDirs) // inString is escaped. We want to make an nsFilePath, which requires // an unescaped string. nsSimpleCharString unescapedPath(aCString + kFileURLPrefixLength); - unescapedPath.Unescape() + unescapedPath.Unescape(); nsFilePath path(unescapedPath, inCreateDirs); *this = path; } // nsFileURL::nsFileURL