diff --git a/xpfe/appshell/src/nsAppShellService.cpp b/xpfe/appshell/src/nsAppShellService.cpp index 6a9ddd49314f..bf85da96355f 100644 --- a/xpfe/appshell/src/nsAppShellService.cpp +++ b/xpfe/appshell/src/nsAppShellService.cpp @@ -255,7 +255,7 @@ nsAppShellService::CloseTopLevelWindow(nsIWidget* aWindow) closerv = NS_ERROR_NULL_POINTER; else { nsWebShellWindow* window = (nsWebShellWindow *) data; - window->Close(); + closerv = window->Close(); } unregrv = UnregisterTopLevelWindow(aWindow);