2012-05-21 11:12:37 +00:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2006-05-19 09:31:57 +00:00
|
|
|
|
2012-08-16 01:46:03 +00:00
|
|
|
#include "base/basictypes.h"
|
|
|
|
|
2006-05-19 09:31:57 +00:00
|
|
|
#include "nsLayoutStatics.h"
|
|
|
|
#include "nscore.h"
|
|
|
|
|
|
|
|
#include "nsAttrValue.h"
|
|
|
|
#include "nsAutoCopyListener.h"
|
|
|
|
#include "nsColorNames.h"
|
|
|
|
#include "nsComputedDOMStyle.h"
|
|
|
|
#include "nsContentDLF.h"
|
|
|
|
#include "nsContentUtils.h"
|
|
|
|
#include "nsCSSAnonBoxes.h"
|
|
|
|
#include "nsCSSKeywords.h"
|
2010-03-02 20:59:32 +00:00
|
|
|
#include "nsCSSParser.h"
|
2006-05-19 09:31:57 +00:00
|
|
|
#include "nsCSSProps.h"
|
|
|
|
#include "nsCSSPseudoClasses.h"
|
|
|
|
#include "nsCSSPseudoElements.h"
|
2007-03-14 19:48:51 +00:00
|
|
|
#include "nsCSSRendering.h"
|
2006-05-19 09:31:57 +00:00
|
|
|
#include "nsCSSScanner.h"
|
|
|
|
#include "nsDOMAttribute.h"
|
|
|
|
#include "nsDOMClassInfo.h"
|
|
|
|
#include "nsEventListenerManager.h"
|
|
|
|
#include "nsFrame.h"
|
|
|
|
#include "nsGlobalWindow.h"
|
2007-01-30 00:06:41 +00:00
|
|
|
#include "nsGkAtoms.h"
|
2006-05-19 09:31:57 +00:00
|
|
|
#include "nsImageFrame.h"
|
|
|
|
#include "nsLayoutStylesheetCache.h"
|
|
|
|
#include "nsNodeInfo.h"
|
|
|
|
#include "nsRange.h"
|
2009-09-10 01:22:03 +00:00
|
|
|
#include "nsRegion.h"
|
2006-05-19 09:31:57 +00:00
|
|
|
#include "nsRepeatService.h"
|
2009-01-05 00:39:54 +00:00
|
|
|
#include "nsFloatManager.h"
|
2006-05-19 09:31:57 +00:00
|
|
|
#include "nsSprocketLayout.h"
|
|
|
|
#include "nsStackLayout.h"
|
|
|
|
#include "nsStyleSet.h"
|
|
|
|
#include "nsTextControlFrame.h"
|
|
|
|
#include "nsXBLWindowKeyHandler.h"
|
2012-05-23 18:46:04 +00:00
|
|
|
#include "nsXBLService.h"
|
2006-12-22 17:22:18 +00:00
|
|
|
#include "txMozillaXSLTProcessor.h"
|
2006-09-15 21:28:48 +00:00
|
|
|
#include "nsDOMStorage.h"
|
2011-07-29 11:48:04 +00:00
|
|
|
#include "nsTreeSanitizer.h"
|
2007-02-13 16:23:19 +00:00
|
|
|
#include "nsCellMap.h"
|
2007-05-09 22:02:29 +00:00
|
|
|
#include "nsTextFrameTextRunCache.h"
|
2007-05-10 20:21:12 +00:00
|
|
|
#include "nsCCUncollectableMarker.h"
|
2007-07-02 23:36:59 +00:00
|
|
|
#include "nsTextFragment.h"
|
2007-11-19 20:08:20 +00:00
|
|
|
#include "nsCSSRuleProcessor.h"
|
2011-03-28 20:11:09 +00:00
|
|
|
#include "nsCrossSiteListenerProxy.h"
|
2008-11-07 23:00:26 +00:00
|
|
|
#include "nsHTMLDNSPrefetch.h"
|
2009-06-28 22:44:22 +00:00
|
|
|
#include "nsHtml5Module.h"
|
Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE)
2009-06-10 18:00:39 +00:00
|
|
|
#include "nsFocusManager.h"
|
2009-07-28 12:51:09 +00:00
|
|
|
#include "nsFrameList.h"
|
2009-08-08 22:00:26 +00:00
|
|
|
#include "nsListControlFrame.h"
|
2010-08-27 15:49:06 +00:00
|
|
|
#include "nsHTMLInputElement.h"
|
2010-06-18 09:21:13 +00:00
|
|
|
#include "nsSVGUtils.h"
|
2011-06-02 11:11:33 +00:00
|
|
|
#include "nsMathMLAtoms.h"
|
|
|
|
#include "nsMathMLOperators.h"
|
2011-11-02 13:44:16 +00:00
|
|
|
#include "Navigator.h"
|
2006-05-19 09:31:57 +00:00
|
|
|
|
|
|
|
#ifdef MOZ_XUL
|
2007-07-24 00:04:36 +00:00
|
|
|
#include "nsXULPopupManager.h"
|
2006-05-19 09:31:57 +00:00
|
|
|
#include "nsXULContentUtils.h"
|
2007-03-12 05:53:33 +00:00
|
|
|
#include "nsXULPrototypeCache.h"
|
2007-04-12 20:59:01 +00:00
|
|
|
#include "nsXULTooltipListener.h"
|
2007-07-18 05:41:40 +00:00
|
|
|
|
|
|
|
#include "inDOMView.h"
|
|
|
|
#endif
|
2006-05-19 09:31:57 +00:00
|
|
|
|
2007-02-24 20:07:06 +00:00
|
|
|
#include "nsHTMLEditor.h"
|
|
|
|
#include "nsTextServicesDocument.h"
|
|
|
|
|
2008-07-09 08:22:20 +00:00
|
|
|
#ifdef MOZ_MEDIA
|
2008-10-19 07:39:21 +00:00
|
|
|
#include "nsMediaDecoder.h"
|
2008-10-30 05:20:08 +00:00
|
|
|
#include "nsHTMLMediaElement.h"
|
2008-07-09 08:22:20 +00:00
|
|
|
#endif
|
|
|
|
|
2012-06-01 00:54:23 +00:00
|
|
|
#ifdef MOZ_MEDIA_PLUGINS
|
|
|
|
#include "nsMediaPluginHost.h"
|
|
|
|
#endif
|
|
|
|
|
2008-11-06 20:53:20 +00:00
|
|
|
#ifdef MOZ_SYDNEYAUDIO
|
2008-07-30 06:50:14 +00:00
|
|
|
#include "nsAudioStream.h"
|
|
|
|
#endif
|
|
|
|
|
2006-05-19 09:31:57 +00:00
|
|
|
#include "nsError.h"
|
|
|
|
|
2008-02-20 19:00:10 +00:00
|
|
|
#include "nsCycleCollector.h"
|
2008-09-11 13:20:56 +00:00
|
|
|
#include "nsJSEnvironment.h"
|
2010-04-27 09:57:32 +00:00
|
|
|
#include "nsContentSink.h"
|
2010-08-10 17:18:26 +00:00
|
|
|
#include "nsFrameMessageManager.h"
|
2011-03-07 16:58:48 +00:00
|
|
|
#include "nsRefreshDriver.h"
|
2012-03-31 16:30:13 +00:00
|
|
|
#include "nsDOMMutationObserver.h"
|
2011-05-04 11:29:56 +00:00
|
|
|
#include "nsHyphenationManager.h"
|
2011-08-23 19:03:33 +00:00
|
|
|
#include "nsEditorSpellCheck.h"
|
2012-02-24 02:43:33 +00:00
|
|
|
#include "nsWindowMemoryReporter.h"
|
2012-08-16 01:46:03 +00:00
|
|
|
#include "mozilla/dom/ContentParent.h"
|
2012-08-05 05:09:39 +00:00
|
|
|
#include "mozilla/dom/ipc/ProcessPriorityManager.h"
|
2012-08-31 14:34:28 +00:00
|
|
|
#include "nsPermissionManager.h"
|
2011-05-04 11:29:56 +00:00
|
|
|
|
2009-06-16 09:15:46 +00:00
|
|
|
extern void NS_ShutdownChainItemPool();
|
|
|
|
|
2011-03-24 03:13:56 +00:00
|
|
|
using namespace mozilla;
|
2011-12-20 12:07:16 +00:00
|
|
|
using namespace mozilla::dom;
|
2012-08-05 05:09:39 +00:00
|
|
|
using namespace mozilla::dom::ipc;
|
2011-03-24 03:13:56 +00:00
|
|
|
|
2010-04-19 15:41:39 +00:00
|
|
|
nsrefcnt nsLayoutStatics::sLayoutStaticRefcnt = 0;
|
2006-05-19 09:31:57 +00:00
|
|
|
|
|
|
|
nsresult
|
|
|
|
nsLayoutStatics::Initialize()
|
|
|
|
{
|
|
|
|
NS_ASSERTION(sLayoutStaticRefcnt == 0,
|
|
|
|
"nsLayoutStatics isn't zero!");
|
|
|
|
|
|
|
|
sLayoutStaticRefcnt = 1;
|
|
|
|
NS_LOG_ADDREF(&sLayoutStaticRefcnt, sLayoutStaticRefcnt,
|
2006-07-20 21:32:22 +00:00
|
|
|
"nsLayoutStatics", 1);
|
2006-05-19 09:31:57 +00:00
|
|
|
|
|
|
|
nsresult rv;
|
|
|
|
|
2012-08-16 01:46:03 +00:00
|
|
|
ContentParent::StartUp();
|
|
|
|
|
2007-04-02 17:17:36 +00:00
|
|
|
// Register all of our atoms once
|
|
|
|
nsCSSAnonBoxes::AddRefAtoms();
|
|
|
|
nsCSSPseudoClasses::AddRefAtoms();
|
|
|
|
nsCSSPseudoElements::AddRefAtoms();
|
|
|
|
nsCSSKeywords::AddRefTable();
|
|
|
|
nsCSSProps::AddRefTable();
|
|
|
|
nsColorNames::AddRefTable();
|
|
|
|
nsGkAtoms::AddRefAtoms();
|
|
|
|
|
2008-09-11 13:20:56 +00:00
|
|
|
nsJSRuntime::Startup();
|
2009-09-10 01:22:03 +00:00
|
|
|
rv = nsRegion::InitStatic();
|
|
|
|
if (NS_FAILED(rv)) {
|
|
|
|
NS_ERROR("Could not initialize nsRegion");
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
2011-08-31 14:54:39 +00:00
|
|
|
nsGlobalWindow::Init();
|
2011-12-20 12:07:16 +00:00
|
|
|
Navigator::Init();
|
2012-05-23 18:46:04 +00:00
|
|
|
nsXBLService::Init();
|
2011-08-31 14:54:39 +00:00
|
|
|
|
2006-05-19 09:31:57 +00:00
|
|
|
rv = nsContentUtils::Init();
|
|
|
|
if (NS_FAILED(rv)) {
|
|
|
|
NS_ERROR("Could not initialize nsContentUtils");
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
|
|
|
rv = nsAttrValue::Init();
|
|
|
|
if (NS_FAILED(rv)) {
|
|
|
|
NS_ERROR("Could not initialize nsAttrValue");
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
|
|
|
rv = nsTextFragment::Init();
|
|
|
|
if (NS_FAILED(rv)) {
|
|
|
|
NS_ERROR("Could not initialize nsTextFragment");
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
2011-07-15 10:18:33 +00:00
|
|
|
nsCellMap::Init();
|
2007-02-13 16:23:19 +00:00
|
|
|
|
2011-06-02 12:56:46 +00:00
|
|
|
nsCSSRendering::Init();
|
2007-03-14 19:48:51 +00:00
|
|
|
|
2011-05-02 07:11:34 +00:00
|
|
|
nsTextFrameTextRunCache::Init();
|
2007-05-09 22:02:29 +00:00
|
|
|
|
2008-11-07 23:00:26 +00:00
|
|
|
rv = nsHTMLDNSPrefetch::Initialize();
|
|
|
|
if (NS_FAILED(rv)) {
|
|
|
|
NS_ERROR("Could not initialize HTML DNS prefetch");
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
2006-05-19 09:31:57 +00:00
|
|
|
#ifdef MOZ_XUL
|
|
|
|
rv = nsXULContentUtils::Init();
|
|
|
|
if (NS_FAILED(rv)) {
|
|
|
|
NS_ERROR("Could not initialize nsXULContentUtils");
|
|
|
|
return rv;
|
|
|
|
}
|
2007-07-18 05:35:23 +00:00
|
|
|
|
|
|
|
inDOMView::InitAtoms();
|
|
|
|
|
2006-05-19 09:31:57 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
nsMathMLOperators::AddRefTable();
|
|
|
|
|
2007-02-24 20:07:06 +00:00
|
|
|
nsEditProperty::RegisterAtoms();
|
|
|
|
nsTextServicesDocument::RegisterAtoms();
|
|
|
|
|
2006-05-19 09:31:57 +00:00
|
|
|
#ifdef DEBUG
|
|
|
|
nsFrame::DisplayReflowStartup();
|
|
|
|
#endif
|
|
|
|
nsDOMAttribute::Initialize();
|
|
|
|
|
2007-07-17 21:15:49 +00:00
|
|
|
rv = txMozillaXSLTProcessor::Startup();
|
2006-12-22 17:22:18 +00:00
|
|
|
if (NS_FAILED(rv)) {
|
|
|
|
NS_ERROR("Could not initialize txMozillaXSLTProcessor");
|
|
|
|
return rv;
|
2006-05-19 09:31:57 +00:00
|
|
|
}
|
|
|
|
|
2006-09-15 21:28:48 +00:00
|
|
|
rv = nsDOMStorageManager::Initialize();
|
|
|
|
if (NS_FAILED(rv)) {
|
|
|
|
NS_ERROR("Could not initialize nsDOMStorageManager");
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
2007-05-10 20:21:12 +00:00
|
|
|
rv = nsCCUncollectableMarker::Init();
|
|
|
|
if (NS_FAILED(rv)) {
|
|
|
|
NS_ERROR("Could not initialize nsCCUncollectableMarker");
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
2010-04-07 17:29:10 +00:00
|
|
|
rv = nsCSSRuleProcessor::Startup();
|
|
|
|
if (NS_FAILED(rv)) {
|
|
|
|
NS_ERROR("Could not initialize nsCSSRuleProcessor");
|
|
|
|
return rv;
|
|
|
|
}
|
2008-10-21 07:15:03 +00:00
|
|
|
|
2007-07-24 00:04:36 +00:00
|
|
|
#ifdef MOZ_XUL
|
2007-07-04 15:49:38 +00:00
|
|
|
rv = nsXULPopupManager::Init();
|
|
|
|
if (NS_FAILED(rv)) {
|
|
|
|
NS_ERROR("Could not initialize nsXULPopupManager");
|
|
|
|
return rv;
|
|
|
|
}
|
2007-07-24 00:04:36 +00:00
|
|
|
#endif
|
2007-07-04 15:49:38 +00:00
|
|
|
|
Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE)
2009-06-10 18:00:39 +00:00
|
|
|
rv = nsFocusManager::Init();
|
|
|
|
if (NS_FAILED(rv)) {
|
|
|
|
NS_ERROR("Could not initialize nsFocusManager");
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
2008-11-06 20:53:20 +00:00
|
|
|
#ifdef MOZ_SYDNEYAUDIO
|
2008-10-28 16:17:59 +00:00
|
|
|
nsAudioStream::InitLibrary();
|
2008-07-30 06:50:14 +00:00
|
|
|
#endif
|
|
|
|
|
2010-04-27 09:57:32 +00:00
|
|
|
nsContentSink::InitializeStatics();
|
2009-06-28 22:44:22 +00:00
|
|
|
nsHtml5Module::InitializeStatics();
|
2011-11-24 02:48:23 +00:00
|
|
|
nsLayoutUtils::Initialize();
|
2010-06-01 02:19:35 +00:00
|
|
|
nsIPresShell::InitializeStatics();
|
2011-03-07 16:58:48 +00:00
|
|
|
nsRefreshDriver::InitializeStatics();
|
2010-06-01 02:19:35 +00:00
|
|
|
|
2011-03-28 20:18:45 +00:00
|
|
|
nsCORSListenerProxy::Startup();
|
2009-05-20 23:07:18 +00:00
|
|
|
|
2011-05-02 06:32:59 +00:00
|
|
|
nsFrameList::Init();
|
2009-07-28 12:51:09 +00:00
|
|
|
|
2009-09-18 15:13:10 +00:00
|
|
|
NS_SealStaticAtomTable();
|
|
|
|
|
2012-02-24 02:43:33 +00:00
|
|
|
nsWindowMemoryReporter::Init();
|
2011-06-29 11:01:07 +00:00
|
|
|
|
2012-05-17 04:05:04 +00:00
|
|
|
nsSVGUtils::Init();
|
|
|
|
|
2012-08-05 05:09:39 +00:00
|
|
|
InitProcessPriorityManager();
|
|
|
|
|
2012-08-31 14:34:28 +00:00
|
|
|
nsPermissionManager::AppUninstallObserverInit();
|
|
|
|
|
2006-05-19 09:31:57 +00:00
|
|
|
return NS_OK;
|
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
nsLayoutStatics::Shutdown()
|
|
|
|
{
|
2012-02-24 02:43:33 +00:00
|
|
|
// Don't need to shutdown nsWindowMemoryReporter, that will be done by the
|
|
|
|
// memory reporter manager.
|
2011-06-29 11:01:07 +00:00
|
|
|
|
2010-08-10 17:18:26 +00:00
|
|
|
nsFrameScriptExecutor::Shutdown();
|
Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE)
2009-06-10 18:00:39 +00:00
|
|
|
nsFocusManager::Shutdown();
|
2007-07-24 00:04:36 +00:00
|
|
|
#ifdef MOZ_XUL
|
2007-07-04 15:49:38 +00:00
|
|
|
nsXULPopupManager::Shutdown();
|
2007-07-24 00:04:36 +00:00
|
|
|
#endif
|
2006-09-21 13:55:27 +00:00
|
|
|
nsDOMStorageManager::Shutdown();
|
2006-12-22 17:22:18 +00:00
|
|
|
txMozillaXSLTProcessor::Shutdown();
|
2006-05-19 09:31:57 +00:00
|
|
|
nsDOMAttribute::Shutdown();
|
|
|
|
nsEventListenerManager::Shutdown();
|
|
|
|
nsComputedDOMStyle::Shutdown();
|
2010-03-02 20:59:32 +00:00
|
|
|
nsCSSParser::Shutdown();
|
2010-04-07 17:29:10 +00:00
|
|
|
nsCSSRuleProcessor::Shutdown();
|
2007-05-09 22:02:29 +00:00
|
|
|
nsTextFrameTextRunCache::Shutdown();
|
2008-11-07 23:00:26 +00:00
|
|
|
nsHTMLDNSPrefetch::Shutdown();
|
2007-03-14 19:48:51 +00:00
|
|
|
nsCSSRendering::Shutdown();
|
2006-05-19 09:31:57 +00:00
|
|
|
#ifdef DEBUG
|
|
|
|
nsFrame::DisplayReflowShutdown();
|
|
|
|
#endif
|
2007-02-13 16:23:19 +00:00
|
|
|
nsCellMap::Shutdown();
|
2010-07-15 21:08:06 +00:00
|
|
|
nsFrame::ShutdownLayerActivityTimer();
|
2006-05-19 09:31:57 +00:00
|
|
|
|
|
|
|
// Release all of our atoms
|
|
|
|
nsColorNames::ReleaseTable();
|
|
|
|
nsCSSProps::ReleaseTable();
|
|
|
|
nsCSSKeywords::ReleaseTable();
|
|
|
|
nsRepeatService::Shutdown();
|
|
|
|
nsStackLayout::Shutdown();
|
|
|
|
nsBox::Shutdown();
|
|
|
|
|
|
|
|
#ifdef MOZ_XUL
|
|
|
|
nsXULContentUtils::Finish();
|
2007-03-12 05:53:33 +00:00
|
|
|
nsXULPrototypeCache::ReleaseGlobals();
|
2006-05-19 09:31:57 +00:00
|
|
|
nsSprocketLayout::Shutdown();
|
|
|
|
#endif
|
|
|
|
|
|
|
|
nsMathMLOperators::ReleaseTable();
|
|
|
|
|
2009-01-05 00:39:54 +00:00
|
|
|
nsFloatManager::Shutdown();
|
2006-05-19 09:31:57 +00:00
|
|
|
nsImageFrame::ReleaseGlobals();
|
|
|
|
|
|
|
|
nsCSSScanner::ReleaseGlobals();
|
|
|
|
|
|
|
|
nsTextFragment::Shutdown();
|
|
|
|
|
|
|
|
nsAttrValue::Shutdown();
|
|
|
|
nsContentUtils::Shutdown();
|
2008-01-21 09:58:58 +00:00
|
|
|
nsNodeInfo::ClearCache();
|
2006-05-19 09:31:57 +00:00
|
|
|
nsLayoutStylesheetCache::Shutdown();
|
|
|
|
NS_NameSpaceManagerShutdown();
|
|
|
|
|
2008-09-11 13:20:56 +00:00
|
|
|
nsJSRuntime::Shutdown();
|
2006-05-19 09:31:57 +00:00
|
|
|
nsGlobalWindow::ShutDown();
|
|
|
|
nsDOMClassInfo::ShutDown();
|
2009-08-08 22:00:26 +00:00
|
|
|
nsListControlFrame::Shutdown();
|
2006-05-19 09:31:57 +00:00
|
|
|
nsXBLWindowKeyHandler::ShutDown();
|
2012-05-23 18:46:04 +00:00
|
|
|
nsXBLService::Shutdown();
|
2006-05-19 09:31:57 +00:00
|
|
|
nsAutoCopyListener::Shutdown();
|
2012-06-26 02:43:30 +00:00
|
|
|
FrameLayerBuilder::Shutdown();
|
2007-01-23 05:24:21 +00:00
|
|
|
|
2012-06-01 00:54:23 +00:00
|
|
|
#ifdef MOZ_MEDIA_PLUGINS
|
|
|
|
nsMediaPluginHost::Shutdown();
|
|
|
|
#endif
|
|
|
|
|
2008-11-06 20:53:20 +00:00
|
|
|
#ifdef MOZ_SYDNEYAUDIO
|
2008-07-30 06:50:14 +00:00
|
|
|
nsAudioStream::ShutdownLibrary();
|
|
|
|
#endif
|
2008-10-01 06:17:15 +00:00
|
|
|
|
2011-03-28 20:18:45 +00:00
|
|
|
nsCORSListenerProxy::Shutdown();
|
2009-06-28 22:44:22 +00:00
|
|
|
|
2010-06-01 02:19:35 +00:00
|
|
|
nsIPresShell::ReleaseStatics();
|
|
|
|
|
2011-07-29 11:48:04 +00:00
|
|
|
nsTreeSanitizer::ReleaseStatics();
|
|
|
|
|
2009-06-28 22:44:22 +00:00
|
|
|
nsHtml5Module::ReleaseStatics();
|
2009-06-16 09:15:46 +00:00
|
|
|
|
2009-09-10 01:22:03 +00:00
|
|
|
nsRegion::ShutdownStatic();
|
|
|
|
|
2009-06-16 09:15:46 +00:00
|
|
|
NS_ShutdownChainItemPool();
|
2009-07-28 12:51:09 +00:00
|
|
|
|
|
|
|
nsFrameList::Shutdown();
|
2010-02-11 08:35:49 +00:00
|
|
|
|
2010-08-27 15:49:06 +00:00
|
|
|
nsHTMLInputElement::DestroyUploadLastDir();
|
2011-01-13 17:45:14 +00:00
|
|
|
|
|
|
|
nsLayoutUtils::Shutdown();
|
2011-05-04 11:29:56 +00:00
|
|
|
|
|
|
|
nsHyphenationManager::Shutdown();
|
2011-08-23 19:03:33 +00:00
|
|
|
nsEditorSpellCheck::ShutDown();
|
2012-03-31 16:30:13 +00:00
|
|
|
nsDOMMutationObserver::Shutdown();
|
2012-08-16 01:46:03 +00:00
|
|
|
|
|
|
|
ContentParent::ShutDown();
|
2006-05-19 09:31:57 +00:00
|
|
|
}
|