summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2022-04-09 16:54:54 -0500
committerMatt A. Tobin <email@mattatobin.com>2022-04-09 16:54:54 -0500
commit3d3b434e7dd0538ca690127f7df77630ec56565f (patch)
tree5250a8c2d4350d3777840002c5ae3826c2713a50
parent3aa81cd8e8b23c19c8a98cf4550cd030a2b4fad8 (diff)
downloadaura-central-3d3b434e7dd0538ca690127f7df77630ec56565f.tar.gz
Revert "Issue %3057 - Part 3a: Stop using GetNativePath in ffvpx only on Windows."
This reverts commit 582036d33f9bf2b42ee5afe8989934597fa5849a.
-rw-r--r--dom/media/platforms/ffmpeg/ffvpx/FFVPXRuntimeLinker.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/dom/media/platforms/ffmpeg/ffvpx/FFVPXRuntimeLinker.cpp b/dom/media/platforms/ffmpeg/ffvpx/FFVPXRuntimeLinker.cpp
index 5446066dc..006cf6f38 100644
--- a/dom/media/platforms/ffmpeg/ffvpx/FFVPXRuntimeLinker.cpp
+++ b/dom/media/platforms/ffmpeg/ffvpx/FFVPXRuntimeLinker.cpp
@@ -76,11 +76,7 @@ FFVPXRuntimeLinker::Init()
return false;
}
nsAutoCString rootPath;
-#ifdef XP_UNIX
- if (NS_FAILED(rootDir->GetNativePath(rootPath))) {
-#else
if (NS_FAILED(rootDir->GetPersistentDescriptor(rootPath))) {
-#endif
return false;
}