diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-02-19 16:11:56 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-02-19 16:11:56 +0100 |
commit | 01b1e411bdb042dbc99668e3b6689da799c7828a (patch) | |
tree | 2fef3dd21552406dafd886b5f5f1aeccf6445f01 /xpcom/build | |
parent | ce1bd4f244710fcec718e164c6d9b1621c8ec810 (diff) | |
download | uxp-01b1e411bdb042dbc99668e3b6689da799c7828a.tar.gz |
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.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/xpcom/build/XPCOMInit.cpp b/xpcom/build/XPCOMInit.cpp index c72ea48d77..895e295b18 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; |