From 01b1e411bdb042dbc99668e3b6689da799c7828a Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Mon, 19 Feb 2018 16:11:56 +0100 Subject: 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 . --- xpcom/build/XPCOMInit.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'xpcom/build') 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; -- cgit v1.2.3