diff options
Diffstat (limited to 'widget/nsDeviceContextSpecProxy.cpp')
-rw-r--r-- | widget/nsDeviceContextSpecProxy.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/widget/nsDeviceContextSpecProxy.cpp b/widget/nsDeviceContextSpecProxy.cpp index df09272375..7ff3c6e974 100644 --- a/widget/nsDeviceContextSpecProxy.cpp +++ b/widget/nsDeviceContextSpecProxy.cpp @@ -169,7 +169,11 @@ nsDeviceContextSpecProxy::CreateUniqueTempPath(nsACString& aFilePath) return rv; } +#ifdef XP_WIN + return recordingFile->GetPersistentDescriptor(aFilePath); +#else return recordingFile->GetNativePath(aFilePath); +#endif } NS_IMETHODIMP |