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 /layout | |
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 'layout')
-rw-r--r-- | layout/printing/ipc/RemotePrintJobParent.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/layout/printing/ipc/RemotePrintJobParent.cpp b/layout/printing/ipc/RemotePrintJobParent.cpp index 7005bab5a..98d5dd2ee 100644 --- a/layout/printing/ipc/RemotePrintJobParent.cpp +++ b/layout/printing/ipc/RemotePrintJobParent.cpp @@ -117,7 +117,11 @@ RemotePrintJobParent::PrintPage(const nsCString& aPageFileName) } nsAutoCString recordingPath; +#ifdef XP_WIN + rv = recordingFile->GetPersistentDescriptor(recordingPath); +#else rv = recordingFile->GetNativePath(recordingPath); +#endif if (NS_WARN_IF(NS_FAILED(rv))) { return rv; } |