summaryrefslogtreecommitdiffstats
path: root/xpcom/build
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-02-19 16:11:56 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-02-19 16:11:56 +0100
commit01b1e411bdb042dbc99668e3b6689da799c7828a (patch)
tree2fef3dd21552406dafd886b5f5f1aeccf6445f01 /xpcom/build
parentce1bd4f244710fcec718e164c6d9b1621c8ec810 (diff)
downloadUXP-01b1e411bdb042dbc99668e3b6689da799c7828a.tar
UXP-01b1e411bdb042dbc99668e3b6689da799c7828a.tar.gz
UXP-01b1e411bdb042dbc99668e3b6689da799c7828a.tar.lz
UXP-01b1e411bdb042dbc99668e3b6689da799c7828a.tar.xz
UXP-01b1e411bdb042dbc99668e3b6689da799c7828a.zip
Remove StartupSpecialSystemDirectory() workaround.
The SHGetKnownFolderPath function declaration is exposed since [85edb1c711f7816ed1a30edd07b37d314fac216a] so we no longer need to GetProcAddress("SHGetKnownFolderPath") and we can call it directly. Also remove a redundant #include <shlobj.h>.
Diffstat (limited to 'xpcom/build')
-rw-r--r--xpcom/build/XPCOMInit.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/xpcom/build/XPCOMInit.cpp b/xpcom/build/XPCOMInit.cpp
index c72ea48d7..895e295b1 100644
--- a/xpcom/build/XPCOMInit.cpp
+++ b/xpcom/build/XPCOMInit.cpp
@@ -584,8 +584,6 @@ NS_InitXPCOM2(nsIServiceManager** aResult,
NS_StartupLocalFile();
- StartupSpecialSystemDirectory();
-
nsDirectoryService::RealInit();
bool value;