From a8d8dffa037b2ea344b90d1cfe1064c53ae54a02 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Thu, 27 Dec 2012 15:03:55 +0100 Subject: [PATCH] Bug 823924 - Don't hardcode system directory when loading WMF libraries r=paul --- content/media/wmf/WMFUtils.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/media/wmf/WMFUtils.cpp b/content/media/wmf/WMFUtils.cpp index 1b358ad78c9..dc99df5c370 100644 --- a/content/media/wmf/WMFUtils.cpp +++ b/content/media/wmf/WMFUtils.cpp @@ -210,10 +210,10 @@ struct WMFModule { }; static WMFModule sDLLs[] = { - { "C:\\Windows\\system32\\mfplat.dll", NULL }, - { "C:\\Windows\\system32\\mfreadwrite.dll", NULL }, - { "C:\\Windows\\system32\\propsys.dll", NULL }, - { "C:\\Windows\\system32\\mf.dll", NULL }, + { "mfplat.dll", NULL }, + { "mfreadwrite.dll", NULL }, + { "propsys.dll", NULL }, + { "mf.dll", NULL } }; HRESULT