diff options
author | Matt A. Tobin <email@mattatobin.com> | 2020-02-22 19:03:00 -0500 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-04-14 12:51:25 +0200 |
commit | da15aa0fdf5ec769a0973a00d84f9fa090de0b60 (patch) | |
tree | c6f5b8197eac51be855aecdae3b5d97207cdf97e /xpcom/base/nsMemoryInfoDumper.cpp | |
parent | 867737dd4b650494404a90b8b99ea959f74462ca (diff) | |
download | UXP-da15aa0fdf5ec769a0973a00d84f9fa090de0b60.tar UXP-da15aa0fdf5ec769a0973a00d84f9fa090de0b60.tar.gz UXP-da15aa0fdf5ec769a0973a00d84f9fa090de0b60.tar.lz UXP-da15aa0fdf5ec769a0973a00d84f9fa090de0b60.tar.xz UXP-da15aa0fdf5ec769a0973a00d84f9fa090de0b60.zip |
Issue #1053 - Remove android support from XPCOM
Diffstat (limited to 'xpcom/base/nsMemoryInfoDumper.cpp')
-rw-r--r-- | xpcom/base/nsMemoryInfoDumper.cpp | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/xpcom/base/nsMemoryInfoDumper.cpp b/xpcom/base/nsMemoryInfoDumper.cpp index afb18382d..c2371a1c0 100644 --- a/xpcom/base/nsMemoryInfoDumper.cpp +++ b/xpcom/base/nsMemoryInfoDumper.cpp @@ -576,13 +576,6 @@ public: return rv; } - #ifdef ANDROID - rv = reportsFinalFile->AppendNative(NS_LITERAL_CSTRING("memory-reports")); - if (NS_WARN_IF(NS_FAILED(rv))) { - return rv; - } - #endif - rv = reportsFinalFile->AppendNative(mReportsFilename); if (NS_WARN_IF(NS_FAILED(rv))) { return rv; @@ -748,9 +741,8 @@ nsMemoryInfoDumper::DumpMemoryInfoToTempDir(const nsAString& aIdentifier, nsCOMPtr<nsIFile> reportsTmpFile; nsresult rv; - // In Android case, this function will open a file named aFilename under - // specific folder (/data/local/tmp/memory-reports). Otherwise, it will - // open a file named aFilename under "NS_OS_TEMP_DIR". + + // This will open a file named aFilename under "NS_OS_TEMP_DIR". rv = nsDumpUtils::OpenTempFile(NS_LITERAL_CSTRING("incomplete-") + reportsFinalFilename, getter_AddRefs(reportsTmpFile), |