void nsLayoutStatics::Shutdown() { #ifdef MOZ_XUL nsXULPopupManager::Shutdown(); #endif nsDOMStorageManager::Shutdown(); txMozillaXSLTProcessor::Shutdown(); nsDOMAttribute::Shutdown(); nsDOMEventRTTearoff::Shutdown(); nsEventListenerManager::Shutdown(); nsContentList::Shutdown(); nsComputedDOMStyle::Shutdown(); CSSLoaderImpl::Shutdown(); nsCSSRuleProcessor::Shutdown(); nsTextFrameTextRunCache::Shutdown(); nsCSSRendering::Shutdown(); #ifdef DEBUG nsFrame::DisplayReflowShutdown(); #endif nsCellMap::Shutdown(); // Release all of our atoms nsColorNames::ReleaseTable(); nsCSSProps::ReleaseTable(); nsCSSKeywords::ReleaseTable(); nsRepeatService::Shutdown(); nsStackLayout::Shutdown(); nsBox::Shutdown(); #ifdef MOZ_XUL nsXULContentUtils::Finish(); nsXULElement::ReleaseGlobals(); nsXULPrototypeCache::ReleaseGlobals(); nsXULPrototypeElement::ReleaseGlobals(); nsSprocketLayout::Shutdown(); #endif #ifdef MOZ_MATHML nsMathMLOperators::ReleaseTable(); #endif nsCSSFrameConstructor::ReleaseGlobals(); nsSpaceManager::Shutdown(); nsImageFrame::ReleaseGlobals(); nsCSSScanner::ReleaseGlobals(); NS_IF_RELEASE(nsContentDLF::gUAStyleSheet); NS_IF_RELEASE(nsRuleNode::gLangService); nsStyledElement::Shutdown(); nsTextFragment::Shutdown(); nsAttrValue::Shutdown(); nsContentUtils::Shutdown(); nsNodeInfo::ClearCache(); nsLayoutStylesheetCache::Shutdown(); NS_NameSpaceManagerShutdown(); nsStyleSet::FreeGlobals(); nsGlobalWindow::ShutDown(); nsDOMClassInfo::ShutDown(); nsTextControlFrame::ShutDown(); nsXBLWindowKeyHandler::ShutDown(); nsAutoCopyListener::Shutdown(); #ifndef MOZILLA_PLAINTEXT_EDITOR_ONLY nsHTMLEditor::Shutdown(); nsTextServicesDocument::Shutdown(); #endif NS_ShutdownFocusSuppressor(); }
void nsLayoutStatics::Shutdown() { nsFrameScriptExecutor::Shutdown(); nsFocusManager::Shutdown(); #ifdef MOZ_XUL nsXULPopupManager::Shutdown(); #endif nsDOMStorageManager::Shutdown(); txMozillaXSLTProcessor::Shutdown(); nsDOMAttribute::Shutdown(); nsDOMEventRTTearoff::Shutdown(); nsEventListenerManager::Shutdown(); nsComputedDOMStyle::Shutdown(); nsCSSParser::Shutdown(); nsCSSRuleProcessor::Shutdown(); nsTextFrameTextRunCache::Shutdown(); nsHTMLDNSPrefetch::Shutdown(); nsCSSRendering::Shutdown(); #ifdef DEBUG nsFrame::DisplayReflowShutdown(); #endif nsCellMap::Shutdown(); nsFrame::ShutdownLayerActivityTimer(); // Release all of our atoms nsColorNames::ReleaseTable(); nsCSSProps::ReleaseTable(); nsCSSKeywords::ReleaseTable(); nsRepeatService::Shutdown(); nsStackLayout::Shutdown(); nsBox::Shutdown(); #ifdef MOZ_XUL nsXULContentUtils::Finish(); nsXULElement::ReleaseGlobals(); nsXULPrototypeCache::ReleaseGlobals(); nsSprocketLayout::Shutdown(); #endif #ifdef MOZ_MATHML nsMathMLOperators::ReleaseTable(); #endif nsCSSFrameConstructor::ReleaseGlobals(); nsFloatManager::Shutdown(); nsImageFrame::ReleaseGlobals(); nsCSSScanner::ReleaseGlobals(); NS_IF_RELEASE(nsRuleNode::gLangService); nsTextFragment::Shutdown(); nsAttrValue::Shutdown(); nsContentUtils::Shutdown(); nsNodeInfo::ClearCache(); nsLayoutStylesheetCache::Shutdown(); NS_NameSpaceManagerShutdown(); nsJSRuntime::Shutdown(); nsGlobalWindow::ShutDown(); nsDOMClassInfo::ShutDown(); nsListControlFrame::Shutdown(); nsXBLWindowKeyHandler::ShutDown(); nsAutoCopyListener::Shutdown(); #ifndef MOZILLA_PLAINTEXT_EDITOR_ONLY nsHTMLEditor::Shutdown(); nsTextServicesDocument::Shutdown(); #endif nsDOMThreadService::Shutdown(); #ifdef MOZ_SYDNEYAUDIO nsAudioStream::ShutdownLibrary(); #endif nsXMLHttpRequest::ShutdownACCache(); nsWebSocket::ReleaseGlobals(); nsIPresShell::ReleaseStatics(); nsHtml5Module::ReleaseStatics(); nsRegion::ShutdownStatic(); NS_ShutdownChainItemPool(); nsFrameList::Shutdown(); nsHTMLInputElement::DestroyUploadLastDir(); }
void nsLayoutStatics::Shutdown() { nsDOMStorageManager::Shutdown(); nsDOMAttribute::Shutdown(); nsGenericElement::Shutdown(); nsEventListenerManager::Shutdown(); nsContentList::Shutdown(); nsComputedDOMStyle::Shutdown(); CSSLoaderImpl::Shutdown(); #ifdef DEBUG nsFrame::DisplayReflowShutdown(); #endif // Release all of our atoms nsColorNames::ReleaseTable(); nsCSSProps::ReleaseTable(); nsCSSKeywords::ReleaseTable(); nsRepeatService::Shutdown(); nsStackLayout::Shutdown(); nsBox::Shutdown(); #ifdef MOZ_XUL nsXULContentUtils::Finish(); nsXULElement::ReleaseGlobals(); nsXULPrototypeElement::ReleaseGlobals(); nsXULPrototypeScript::ReleaseGlobals(); nsSprocketLayout::Shutdown(); #endif #ifdef MOZ_MATHML nsMathMLOperators::ReleaseTable(); #endif #ifdef MOZ_SVG #ifdef MOZ_SVG_RENDERER_LIBART NS_FreeSVGRendererLibartGlobals(); #endif #ifdef MOZ_SVG_RENDERER_GDIPLUS NS_FreeSVGRendererGDIPlusGlobals(); #endif #endif nsCSSFrameConstructor::ReleaseGlobals(); nsTextTransformer::Shutdown(); nsSpaceManager::Shutdown(); nsImageFrame::ReleaseGlobals(); nsCSSScanner::ReleaseGlobals(); NS_IF_RELEASE(nsContentDLF::gUAStyleSheet); NS_IF_RELEASE(nsRuleNode::gLangService); nsGenericHTMLElement::Shutdown(); nsAttrValue::Shutdown(); nsContentUtils::Shutdown(); nsLayoutStylesheetCache::Shutdown(); NS_NameSpaceManagerShutdown(); nsStyleSet::FreeGlobals(); nsGlobalWindow::ShutDown(); nsDOMClassInfo::ShutDown(); nsTextControlFrame::ShutDown(); nsXBLWindowKeyHandler::ShutDown(); nsAutoCopyListener::Shutdown(); }