From b9be9f5a0e26d4a220007a85d6c0f745eef5dff6 Mon Sep 17 00:00:00 2001 From: "dougt%meer.net" Date: Fri, 9 Jun 2006 14:35:40 +0000 Subject: [PATCH] appshell is a service. patch by darin. --- minimo/base/Minimo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/minimo/base/Minimo.cpp b/minimo/base/Minimo.cpp index 2c7656726d6..4566fe83551 100755 --- a/minimo/base/Minimo.cpp +++ b/minimo/base/Minimo.cpp @@ -751,7 +751,7 @@ int main(int argc, char *argv[]) OverrideComponents(); NS_TIMELINE_ENTER("appStartup"); - nsCOMPtr appShell = do_CreateInstance(kAppShellCID); + nsCOMPtr appShell = do_GetService(kAppShellCID); if (!appShell) { // if we can't get the nsIAppShell, then we should auto reg. @@ -762,7 +762,7 @@ int main(int argc, char *argv[]) registrar->AutoRegister(nsnull); - appShell = do_CreateInstance(kAppShellCID); + appShell = do_GetService(kAppShellCID); if (!appShell) return 1;