diff options
author | Moonchild <moonchild@palemoon.org> | 2022-02-03 17:11:21 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2022-02-03 17:11:21 +0000 |
commit | 097fa969802f76530384926e8ef1f56777be3783 (patch) | |
tree | 8f01134d7c464a164707ce81a47d3a418eef0019 /xpcom/io | |
parent | 56b8a05db34fabefad74e20876309263066b5bce (diff) | |
download | aura-central-097fa969802f76530384926e8ef1f56777be3783.tar.gz |
Issue %3057 - Part 9: Adjust all callsites for no longer using GetNativePath
Depending on context, various solutions were used.
Diffstat (limited to 'xpcom/io')
-rw-r--r-- | xpcom/io/nsLocalFileWin.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xpcom/io/nsLocalFileWin.cpp b/xpcom/io/nsLocalFileWin.cpp index 2ff05666b..0b4c58ec6 100644 --- a/xpcom/io/nsLocalFileWin.cpp +++ b/xpcom/io/nsLocalFileWin.cpp @@ -3564,7 +3564,7 @@ nsLocalFile::SetNativeLeafName(const nsACString& aLeafName) NS_IMETHODIMP nsLocalFile::GetNativePath(nsACString& aResult) { - //NS_WARNING("This API is lossy. Use GetPath !"); + NS_WARNING("The GetNativePath API is lossy. Use GetPath!"); nsAutoString tmp; nsresult rv = GetPath(tmp); if (NS_SUCCEEDED(rv)) { @@ -3578,7 +3578,7 @@ nsLocalFile::GetNativePath(nsACString& aResult) NS_IMETHODIMP nsLocalFile::GetNativeCanonicalPath(nsACString& aResult) { - NS_WARNING("This method is lossy. Use GetCanonicalPath !"); + NS_WARNING("This method is lossy. Use GetCanonicalPath!"); EnsureShortPath(); NS_CopyUnicodeToNative(mShortWorkingPath, aResult); return NS_OK; @@ -3646,7 +3646,7 @@ nsLocalFile::GetNativeTarget(nsACString& aResult) // Check we are correctly initialized. CHECK_mWorkingPath(); - NS_WARNING("This API is lossy. Use GetTarget !"); + NS_WARNING("This API is lossy. Use GetTarget!"); nsAutoString tmp; nsresult rv = GetTarget(tmp); if (NS_SUCCEEDED(rv)) { |