diff options
Diffstat (limited to 'dom/plugins/base/nsPluginStreamListenerPeer.cpp')
-rw-r--r-- | dom/plugins/base/nsPluginStreamListenerPeer.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dom/plugins/base/nsPluginStreamListenerPeer.cpp b/dom/plugins/base/nsPluginStreamListenerPeer.cpp index 603f2408c8..7ee5cd7fbb 100644 --- a/dom/plugins/base/nsPluginStreamListenerPeer.cpp +++ b/dom/plugins/base/nsPluginStreamListenerPeer.cpp @@ -1265,7 +1265,11 @@ nsPluginStreamListenerPeer::OnFileAvailable(nsIFile* aFile) return NS_ERROR_FAILURE; nsAutoCString path; +#ifdef XP_WIN + rv = aFile->GetPersistentDescriptor(path); +#else rv = aFile->GetNativePath(path); +#endif if (NS_FAILED(rv)) return rv; if (path.IsEmpty()) { |