diff --git a/mozilla/xpfe/bootstrap/nsNativeAppSupportOS2.cpp b/mozilla/xpfe/bootstrap/nsNativeAppSupportOS2.cpp index b9aebbf85ec..6774c5c946a 100644 --- a/mozilla/xpfe/bootstrap/nsNativeAppSupportOS2.cpp +++ b/mozilla/xpfe/bootstrap/nsNativeAppSupportOS2.cpp @@ -2460,10 +2460,10 @@ nsNativeAppSupportOS2::OnLastWindowClosing() { profileCount > 1 ) { // Turn off turbo mode and quit the application. SetIsServerMode( PR_FALSE ); - nsCOMPtr appShell + nsCOMPtr appStartup (do_GetService(NS_APPSTARTUP_CONTRACTID, &rv)); if ( NS_SUCCEEDED( rv ) ) { - appShell->Quit(nsIAppShellService::eAttemptQuit); + appStartup->Quit(nsIAppStartup::eAttemptQuit); } return NS_OK; }