diff options
Diffstat (limited to 'layout/printing')
-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 7005bab5a3..98d5dd2ee0 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; } |