Merge mozilla-central to autoland. CLOSED TREE
[gecko.git] / widget / uikit / nsWidgetFactory.mm
blobe5b24d200f97ec817e8de23a0a91eb4751fd360b
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3  * License, v. 2.0. If a copy of the MPL was not distributed with this
4  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #include "nsAppShell.h"
7 #include "nsAppShellSingleton.h"
8 #include "nsLookAndFeel.h"
9 #include "nsWidgetFactory.h"
10 #include "mozilla/WidgetUtils.h"
12 using namespace mozilla::widget;
14 void nsWidgetUIKitModuleCtor() { nsAppShellInit(); }
16 void nsWidgetUIKitModuleDtor() {
17   WidgetUtils::Shutdown();
18   nsLookAndFeel::Shutdown();
19   nsAppShellShutdown();