summaryrefslogtreecommitdiff
path: root/dom/plugins/base/nsPluginsDirWin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dom/plugins/base/nsPluginsDirWin.cpp')
-rw-r--r--dom/plugins/base/nsPluginsDirWin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/plugins/base/nsPluginsDirWin.cpp b/dom/plugins/base/nsPluginsDirWin.cpp
index 8c2d26ca2c..5a2d85f293 100644
--- a/dom/plugins/base/nsPluginsDirWin.cpp
+++ b/dom/plugins/base/nsPluginsDirWin.cpp
@@ -239,7 +239,7 @@ static bool CanLoadPlugin(char16ptr_t aBinaryPath)
bool nsPluginsDir::IsPluginFile(nsIFile* file)
{
nsAutoCString path;
- if (NS_FAILED(file->GetNativePath(path)))
+ if (NS_FAILED(file->GetPersistentDescriptor(path)))
return false;
const char *cPath = path.get();