diff options
author | Matt A. Tobin <email@mattatobin.com> | 2022-04-09 16:53:35 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2022-04-09 16:53:35 -0500 |
commit | 853befa9d5604186c6c452afe07a37d372700e26 (patch) | |
tree | 29493ecd6a4dd21ff966c29f4fc20a396ef9d715 /system/runtime | |
parent | 645c946aa77a55b259bd98de78a6a9d9c342ed94 (diff) | |
download | aura-central-853befa9d5604186c6c452afe07a37d372700e26.tar.gz |
Revert "Issue %3057 - Part 9: Adjust all callsites for no longer using GetNativePath"
This reverts commit 097fa969802f76530384926e8ef1f56777be3783.
Diffstat (limited to 'system/runtime')
-rw-r--r-- | system/runtime/nsUpdateDriver.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/system/runtime/nsUpdateDriver.cpp b/system/runtime/nsUpdateDriver.cpp index dadae7ba1..812818788 100644 --- a/system/runtime/nsUpdateDriver.cpp +++ b/system/runtime/nsUpdateDriver.cpp @@ -958,13 +958,7 @@ nsUpdateProcessor::ProcessUpdate(nsIUpdate* aUpdate) rv = ds->Get(XRE_EXECUTABLE_FILE, NS_GET_IID(nsIFile), getter_AddRefs(binary)); NS_ASSERTION(NS_SUCCEEDED(rv), "Can't get the binary path"); -#ifdef XP_WIN - nsAutoString binPathW; - binary->GetPath(binPathW); - NS_ConvertUTF16toUTF8 binPath(binPathW); -#else binary->GetNativePath(binPath); -#endif } // Copy the parameters to the StagedUpdateInfo structure shared with the |