diff options
author | Matt A. Tobin <email@mattatobin.com> | 2022-04-09 16:53:44 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2022-04-09 16:53:44 -0500 |
commit | 834e49ea9adfb3f8c681f9d33b881dda964b1ef2 (patch) | |
tree | c5a9ec5ceaa5ba84075da2c39ccf3f97f5fead1d /system | |
parent | 853befa9d5604186c6c452afe07a37d372700e26 (diff) | |
download | aura-central-834e49ea9adfb3f8c681f9d33b881dda964b1ef2.tar.gz |
Revert "Revert "Issue %3057 - Part 6: Revert some of the previous changes for new approach.""
This reverts commit 56b8a05db34fabefad74e20876309263066b5bce.
Diffstat (limited to 'system')
-rw-r--r-- | system/graphics/layers/composite/FPSCounter.cpp | 4 | ||||
-rw-r--r-- | system/runtime/nsAppRunner.cpp | 5 |
2 files changed, 0 insertions, 9 deletions
diff --git a/system/graphics/layers/composite/FPSCounter.cpp b/system/graphics/layers/composite/FPSCounter.cpp index 0cbc76066..b8e93eb97 100644 --- a/system/graphics/layers/composite/FPSCounter.cpp +++ b/system/graphics/layers/composite/FPSCounter.cpp @@ -364,11 +364,7 @@ FPSCounter::WriteFrameTimeStamps() PR_Close(fd); nsAutoCString path; -#ifdef XP_WIN - rv = resultFile->GetPersistentDescriptor(path); -#else rv = resultFile->GetNativePath(path); -#endif NS_ENSURE_SUCCESS(rv, rv); printf_stderr("Wrote FPS data to file: %s\n", path.get()); diff --git a/system/runtime/nsAppRunner.cpp b/system/runtime/nsAppRunner.cpp index c6569dc96..459de8e7d 100644 --- a/system/runtime/nsAppRunner.cpp +++ b/system/runtime/nsAppRunner.cpp @@ -1982,13 +1982,8 @@ SelectProfile(nsIProfileLock* *aResult, nsIToolkitProfileService* aProfileSvc, n profile->GetRootDir(getter_AddRefs(prefsJSFile)); prefsJSFile->AppendNative(NS_LITERAL_CSTRING("prefs.js")); nsAutoCString pathStr; -#ifdef XP_WIN - prefsJSFile->GetPersistentDescriptor(pathStr); -#else prefsJSFile->GetNativePath(pathStr); -#endif PR_fprintf(PR_STDERR, "Success: created profile '%s' at '%s'\n", arg, pathStr.get()); - bool exists; prefsJSFile->Exists(&exists); if (!exists) { |